Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Nov 1, 2023
1 parent 764fa92 commit 45b4482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniprogram/utils/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const wxRequest = <T>(request: IRequest) => {
timeout: request.timeout || 3000,
method: request.method || 'POST',
success: (res: any) => {
logger.info('接口请求成功', request.url.indexOf('users/detail') !== -1 ? res : '用户详情')
logger.info('接口请求成功', request.url.indexOf('users/detail') === -1 ? res : '用户详情')

if (res.data.code == 0) {
resolve(res.data.data)
Expand Down

0 comments on commit 45b4482

Please sign in to comment.