Commit 3160250a by 王昆

dd

parent 5886dd31
...@@ -51,8 +51,8 @@ class ActionAPI extends APIBase { ...@@ -51,8 +51,8 @@ class ActionAPI extends APIBase {
case "invoice": // 查询发票详细信息 case "invoice": // 查询发票详细信息
opResult = await this.iinvoiceSve.queryInvoice(action_body); opResult = await this.iinvoiceSve.queryInvoice(action_body);
break; break;
case "updateAccountCreation": // 查询发票详细信息 case "uploadDetail": // 查询发票详细信息
opResult = await this.iinvoiceSve.updateAccountCreation(action_body); opResult = await this.iinvoiceSve.uploadDetailSve(action_body);
break; break;
// case "verificationAndCalculation": // 发票试算接口 // case "verificationAndCalculation": // 发票试算接口
// opResult = await rule.dispatcher(action_body); // opResult = await rule.dispatcher(action_body);
......
...@@ -350,10 +350,10 @@ class IInvoiceService extends ServiceBase { ...@@ -350,10 +350,10 @@ class IInvoiceService extends ServiceBase {
} }
/** /**
* 更新 * 更新
* @param {*} params * @param {*} params
*/ */
async updateAccountCreation(params){ async uploadDetailSve(params){
if(!params.id){ if(!params.id){
return system.getResult(null,`参数错误 发票ID 不能为空`); return system.getResult(null,`参数错误 发票ID 不能为空`);
} }
......
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