Commit 0d1e0e76 by wkliang

ytf

parent 5f29542d
......@@ -68,7 +68,7 @@ class ProductService extends ServiceBase {
async createOrUpdate (params) {
if(params.price) {
params.price = Math.round(params.price)
params.price = Math.round(params.price * 100)
}
if (params.id) {
return await this.update(params)
......
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