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
shishuangxi
2024-04-11 22:27:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3044a77200c4b51fe243c5e4d3ed5e4388e301b0
3044a772
1 parent
645eba16
注销账号接口处理
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/model/LogoutModel.ets
sight_harmony/features/wdComponent/src/main/ets/model/LogoutModel.ets
View file @
3044a77
...
...
@@ -12,7 +12,7 @@ export class LogoutModel{
let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders();
return new Promise<string>((success, fail) => {
HttpRequest.post<ResponseDTO<string>>(HttpUrlUtils.accountLogoutUrl(), bean, headers).then((data: ResponseDTO<string>) => {
if (!data
|| !data.data
) {
if (!data) {
fail("数据为空")
return
}
...
...
@@ -20,7 +20,7 @@ export class LogoutModel{
fail(data.message)
return
}
success(data.
data
)
success(data.
message
)
}, (error: Error) => {
fail(error.message)
// Logger.debug("LoginViewModel:error ", error.toString())
...
...
Please
register
or
login
to post a comment