Commit 3b30fb50 by 宋毅

tj

parent fd3a020b
...@@ -40,9 +40,10 @@ class TmSub { ...@@ -40,9 +40,10 @@ class TmSub {
} }
return { code: 1, message: "success", code_item: newList[0], code_list: codeList }; return { code: 1, message: "success", code_item: newList[0], code_list: codeList };
} }
async autosub(obj) {//提报数据 async autosub(obj, pobj) {//提报数据
try { try {
var verifyResult = await this.verifyData(obj); var tmpObj = obj || obj.appKey ? obj : pobj;
var verifyResult = await this.verifyData(tmpObj);
if (verifyResult.code != 1) { if (verifyResult.code != 1) {
return verifyResult; return verifyResult;
} }
......
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