Commit 37873ee6 by Sxy

fix: 日志记录返回值

parent 7148da50
......@@ -142,7 +142,7 @@ class AuthCtl extends CtlBase {
const res = await this.getRequest(url, params);
if (res.data.code == 200) {
const addRedisResult = await this.setRedisValue(`${ydz_prefix}ydzToken`, res.data.result);
return system.getResultSuccess(res);
return system.getResultSuccess(res.data);
} else {
return system.getResultFail(201, res.data.message);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment