Commit dd71c750 authored by 姜登's avatar 姜登

log

parent 0c41b2cd
Pipeline #22321 passed with stage
in 2 seconds
...@@ -116,7 +116,7 @@ class UserService extends Service { ...@@ -116,7 +116,7 @@ class UserService extends Service {
], ],
where: { user_id, day: last_day }, where: { user_id, day: last_day },
}) })
console.log(lastday_data) ctx.logger.info('lastday_data', lastday_data)
lastday_info.use_amount = lastday_data && lastday_data.amount ? Number(parseFloat(lastday_data.amount).toFixed(2)) : 0; lastday_info.use_amount = lastday_data && lastday_data.amount ? Number(parseFloat(lastday_data.amount).toFixed(2)) : 0;
lastday_info.use_money = lastday_data && lastday_data.cost ? Number(parseFloat(lastday_data.cost).toFixed(2)) : 0; lastday_info.use_money = lastday_data && lastday_data.cost ? Number(parseFloat(lastday_data.cost).toFixed(2)) : 0;
......
...@@ -57,7 +57,7 @@ class UserDetailService extends Service { ...@@ -57,7 +57,7 @@ class UserDetailService extends Service {
list: [] list: []
} }
console.log(product) ctx.logger.info(product)
let where = { user_id }; let where = { user_id };
if (product) { if (product) {
if (product.length > 0) { if (product.length > 0) {
......
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