Commit eddeda4c by 孙亚楠

dd

parent 73b1dbf9
......@@ -65,13 +65,13 @@ class ManagerCtl extends CtlBase {
// 交付商统计
async deliverStatTransData(pobj, pobj2, req) {
if(!params.current_date){
if(!pobj.current_date){
let nowTime =new Date();
let month = nowTime.getMonth() + 1;
month = month<10?"0"+month:month;
params.current_date = nowTime.getFullYear()+"-"+month;
pobj.current_date = nowTime.getFullYear()+"-"+month;
}
pobj.deliver_id = req.query.deliver_id;
pobj.deliver_id = req.body.deliver_id;
try {
return await this.orderSve.deliverStatTransData(pobj);
} catch (error) {
......@@ -82,13 +82,13 @@ class ManagerCtl extends CtlBase {
// 业务办理
async businessManagement(pobj, pobj2, req) {
if(!params.current_date){
if(!pobj.current_date){
let nowTime =new Date();
let month = nowTime.getMonth() + 1;
month = month<10?"0"+month:month;
params.current_date = nowTime.getFullYear()+"-"+month;
pobj.current_date = nowTime.getFullYear()+"-"+month;
}
pobj.deliver_id = req.query.deliver_id;
pobj.deliver_id = req.body.deliver_id;
try {
return await this.orderSve.businessManagement(pobj);
} catch (error) {
......
......@@ -181,8 +181,8 @@ class System {
// merchant: "http://127.0.0.1:3101" + path,
// 订单服务
order: domain + ":3103" + path,
// order: "http://127.0.0.1:3103" + path,
// order: domain + ":3103" + path,
order: "http://127.0.0.1:3103" + path,
// 发票服务
invoice: domain + ":3105" + path,
......
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