Commit ecd65470 authored by 姜登's avatar 姜登

gjj

parent e3ae9ddf
Pipeline #3884 passed with stage
in 2 seconds
...@@ -23,7 +23,7 @@ class PartnerController extends Controller { ...@@ -23,7 +23,7 @@ class PartnerController extends Controller {
const { ctx, service } = this; const { ctx, service } = this;
const { id } = ctx.params; const { id } = ctx.params;
const ret = await service.partner.fetchAgreements(id); const ret = await service.partner.fetchAgreements(id);
if (ret && ret.id === id) { if (ret && String(ret.id) === id) {
ctx.success(ret); ctx.success(ret);
return; return;
} }
......
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