Commit ac7b4747 by DESKTOP-7Q3CA17\86137

gsb

parent 5171a554
......@@ -59,7 +59,9 @@ class MerchantService extends ServiceBase {
}
var page = await this.dao.merchantInfo({id: params.id, sign_body_id: params.sign_body_id});
if (page) {
this.handleDate(page, ["begin_time", "invalid_time"], "YYYY-MM-DD");
for(var row of page ){
this.handleDate(row, ["begin_time", "invalid_time"], "YYYY-MM-DD");
}
}
return page;
}
......
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