Commit b124a245 authored by 李尚科's avatar 李尚科

fix

parent 2f86ea37
Pipeline #14067 passed with stage
in 5 seconds
......@@ -109,7 +109,7 @@ class UserService extends Service {
const result = await ctx.helper.send_request(url, {}, { method: 'GET' });
ctx.logger.info(JSON.stringify({ course_mini_auth_ret: result }));
if (result.status === 200) {
if (result.status !== 200) {
ctx.failed('授权失败');
}
......
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