Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
fanmingyou3_wd
2024-02-01 19:58:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6711f4998161796052f491cccd69b32327f2ed81
6711f499
1 parent
888492e3
把mock_switch改为false,使用在线数据
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
sight_harmony/wdComponent/src/main/ets/viewmodel/PageViewModel.ets
sight_harmony/wdDetailPlayApi/src/main/ets/request/ContentDetailRequest.ets
sight_harmony/wdComponent/src/main/ets/viewmodel/PageViewModel.ets
View file @
6711f49
...
...
@@ -9,7 +9,7 @@ const TAG = 'PageViewModel';
* mock数据开关,默认关。
* mock数据是本地json数据,可自行修改内容(‘entry\src\main\resources\rawfile\’目录)
*/
const mock_switch =
tru
e;
const mock_switch =
fals
e;
/**
* 处理返回后的数据
...
...
sight_harmony/wdDetailPlayApi/src/main/ets/request/ContentDetailRequest.ets
View file @
6711f49
import { Logger, ResourcesUtils } from 'wdKit';
import { ResponseDTO, WDHttp } from 'wdNetwork'
import { ContentDetailDTO } from '
../../../../../wdBean/src/main/ets/bean/detail/ContentDetailDTO
'
import { ContentDetailDTO } from '
wdBean
'
const TAG = 'ContentDetailRequest';
const mock_switch =
tru
e;
const mock_switch =
fals
e;
export interface ContentDetailRequestParams {
contentId: string
...
...
Please
register
or
login
to post a comment