edit-common-mchid

This commit is contained in:
lccsw
2022-08-31 16:31:23 +08:00
parent be9ec3ba53
commit 793643a5fd
@@ -279,6 +279,10 @@ class Orders_v2_entity{
if($pid && !$sub_row){
//获取微信商户号
$companys = $this->get_biz_mchid($this->order_row['biz_id'],$this->order_row['brand_id'],$this->order_row['if_local_bill']);
if($this->order_row['biz_id']==63){ //零跑店 门店ID= 63,车款收款都用 id = 12 的公司 合同收款公司不变
$filed = 'id,wx_mchid,title,short,credit_code,wx_mchid,img_seal';
$companys['company'] = $this->ci->sys_company_model->get(['id'=>12],$filed);
}
$sid = create_order_no(350200,'liche',1,1);
$sub_data = [
'o_id' => $this->order_row['id'],
@@ -319,6 +323,10 @@ class Orders_v2_entity{
//获取微信商户号
$companys = $this->get_biz_mchid($this->order_row['biz_id'],$this->order_row['brand_id'],$this->order_row['if_local_bill']);
if($this->order_row['biz_id']==63){ //零跑店 门店ID= 63,车款收款都用 id = 12 的公司 合同收款公司不变
$filed = 'id,wx_mchid,title,short,credit_code,wx_mchid,img_seal';
$companys['company'] = $this->ci->sys_company_model->get(['id'=>12],$filed);
}
$srv_money = $this->order_srv_money($oid); //服务费
$money_json = json_decode($this->order_row['money_json'],true);