edit-api-pay_order

This commit is contained in:
lccsw
2022-06-23 17:36:00 +08:00
parent 97d7cce0f2
commit 90a7c2f457
+1 -1
View File
@@ -158,7 +158,7 @@ class Order extends Wxapp{
foreach($rows as $key=>$val){
$owner_name = '';
if($val['o_id']>=Orders_v2_entity::V2_START_ID){
$order = $this->receiver_orders_v2_model->get(['id'=>$val['o_id']],'owner_name,main_type,id,payway,brand_id,s_id,sid,v_id,cor_id,money_json,info_json');
$order = $this->receiver_orders_v2_model->get(['id'=>$val['o_id']],'owner_name,main_type,id,payway,brand_id,s_id,sid,v_id,cor_id,money_json,info_json,srv_ids');
$info_json = json_decode($order['info_json'],true);
$owner_name = $order['main_type'] ? $info_json['c_company'] : $order['owner_name'];
$total_price = $this->orders_v2_entity->total_price($order['id']);