Commit 665e91e4 by 王昆

gsb

parent 2da45be7
......@@ -46,22 +46,6 @@ class InvoiceCtl extends CtlBase {
}
}
// 商户抬头信息
async apply(params, pobj2, req) {
try {
return await this.orderSve.page(params);
} catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`);
}
}
// 商户交付信息
async apply(params, pobj2, req) {
try {
return await this.orderSve.page(params);
} catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`);
}
}
// 发票申请
async apply(params, pobj2, req) {
try {
......
......@@ -90,6 +90,28 @@ class MerchantService extends ServiceBase {
return settings;
}
async merchantTitle(params) {
let rs = await this.callms("merchant", "mchtTitles", params);
let list = rs.data || [];
let u = {};
if(list.length > 0) {
u = list[0];
}
return system.getResultSuccess(u);
}
async merchantAddr(params) {
let rs = await this.callms("merchant", "mchtAddrs", params);
let list = rs.data || [];
let u = {};
if(list.length > 0) {
u = list[0];
}
return system.getResultSuccess(u);
}
async setChannel(rows) {
if(!rows) {
return;
......
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