Commit 185027d4 by 任晓松

修改价格

parent 1256381b
......@@ -125,11 +125,8 @@ class UtilsProductService extends AppServiceBase {
* @returns {Promise<void>}
*/
async updateProductPrice(pobj,actionBody){
if(!actionBody.payCode){
return system.getResultFail(-1,'产品码 payCode 不能为空!')
}
if(!actionBody.price){
return system.getResultFail(-1,'价格 price 不能为空!')
if(!actionBody.data || actionBody.data.length == 0){
return system.getResultFail(-1,'data is empty!');
}
let url = settings.centerAppUrl() + "action/opProduct/springBoard";
return await this.restPostUrl(pobj,url);
......
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