Commit e3ae9ddf authored by 姜登's avatar 姜登

gjj

parent d5863a6c
Pipeline #3883 passed with stage
in 3 seconds
......@@ -23,7 +23,11 @@ class PartnerController extends Controller {
const { ctx, service } = this;
const { id } = ctx.params;
const ret = await service.partner.fetchAgreements(id);
ctx.success(ret);
if (ret && ret.id === id) {
ctx.success(ret);
return;
}
ctx.fail('未获取到协议');
}
}
......
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