Commit 418fc42f by 孙亚楠

d

parent 3627fa82
......@@ -55,7 +55,7 @@ class SaasMerchantService extends ServiceBase {
this.handleDate(merchant, ["created_at"], null, -8);
let sign = await this.saasmerchantsignDao.getById(params.id);
this.handleDate(sign, ["created_at"], null, -8);
this.handleDate(sign, ["begin_date", "end_date"], "YYYY-MM-DD", -8);
this.handleDate(sign, ["begin_date", "end_date"], "YYYY-MM-DD");
merchant.sign = sign;
return system.getResultSuccess(merchant);
}
......@@ -228,7 +228,7 @@ class SaasMerchantService extends ServiceBase {
if (page.rows) {
for (let item of page.rows) {
this.handleDate(item, ["created_at"], null, -8);
this.handleDate(item, ["begin_date", "end_date"], "YYYY-MM-DD", -8);
this.handleDate(item, ["begin_date", "end_date"], "YYYY-MM-DD");
}
}
return system.getResultSuccess(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