Showing
2 changed files
with
3 additions
and
3 deletions
| @@ -9,7 +9,7 @@ const TAG = 'PageViewModel'; | @@ -9,7 +9,7 @@ const TAG = 'PageViewModel'; | ||
| 9 | * mock数据开关,默认关。 | 9 | * mock数据开关,默认关。 |
| 10 | * mock数据是本地json数据,可自行修改内容(‘entry\src\main\resources\rawfile\’目录) | 10 | * mock数据是本地json数据,可自行修改内容(‘entry\src\main\resources\rawfile\’目录) |
| 11 | */ | 11 | */ |
| 12 | -const mock_switch = true; | 12 | +const mock_switch = false; |
| 13 | 13 | ||
| 14 | /** | 14 | /** |
| 15 | * 处理返回后的数据 | 15 | * 处理返回后的数据 |
| 1 | import { Logger, ResourcesUtils } from 'wdKit'; | 1 | import { Logger, ResourcesUtils } from 'wdKit'; |
| 2 | import { ResponseDTO, WDHttp } from 'wdNetwork' | 2 | import { ResponseDTO, WDHttp } from 'wdNetwork' |
| 3 | -import { ContentDetailDTO } from '../../../../../wdBean/src/main/ets/bean/detail/ContentDetailDTO' | 3 | +import { ContentDetailDTO } from 'wdBean' |
| 4 | 4 | ||
| 5 | const TAG = 'ContentDetailRequest'; | 5 | const TAG = 'ContentDetailRequest'; |
| 6 | 6 | ||
| 7 | -const mock_switch = true; | 7 | +const mock_switch = false; |
| 8 | 8 | ||
| 9 | export interface ContentDetailRequestParams { | 9 | export interface ContentDetailRequestParams { |
| 10 | contentId: string | 10 | contentId: string |
-
Please register or login to post a comment