Commit baac8efc by 王悦

fix failreason

parent c50fb342
......@@ -276,6 +276,7 @@ class TrademarktransactionService extends ServiceBase {
if (tmInfo) {
if (tmInfo.business_quoted_price < objlist[i].business_quoted_price) {
objlist[i]["publish_status"] = "fail"
objlist[i]["fail_reason"] = "价格比现有的高"
failCount++;
continue;
}
......@@ -285,6 +286,7 @@ class TrademarktransactionService extends ServiceBase {
var boo = isNaN(objlist[i].platform_quoted_price);
if(boo) {
failCount++;
objlist[i]["fail_reason"] = "价格格式有误或没有价格"
continue;
}
count++;
......
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