edit-api-config_img
This commit is contained in:
@@ -222,7 +222,7 @@ class Cusorder extends Wxapp{
|
||||
$this->customers_model->update(array('order_time' => date('Y-m-d H:i:s')),['id'=>$cus_id]);
|
||||
$this->customers_entity->add_log($cus_id, $this->session['uid'], $this->session['uname'], "新增订单");
|
||||
|
||||
return ['id'=>$o_id];
|
||||
return ['id'=>$o_id,'admin_img' => $orders_entity::API_ADMIN_IMG,'pay_img'=>$orders_entity::API_PAY_IMG];
|
||||
}else{
|
||||
throw new Exception('创建失败', ERR_PARAMS_ERROR);
|
||||
}
|
||||
@@ -431,7 +431,6 @@ class Cusorder extends Wxapp{
|
||||
$inten_row = $this->app_liche_orders_model->get(['o_id'=>$row['id'],'type'=>4,'status>='=>0]);
|
||||
$pay_status = 0;
|
||||
$inten_money = 0;
|
||||
$pay_img = 'https://img.liche.cn/liche/1634022931.png';
|
||||
if($inten_row && $inten_row['status']==0){
|
||||
$pay_status = 1;
|
||||
}
|
||||
@@ -466,15 +465,16 @@ class Cusorder extends Wxapp{
|
||||
if($row['status']==5&&in_array($delivery['status'],[0,1])){
|
||||
$ckcar_status = 1;
|
||||
}
|
||||
$orders_entity = new Orders_entity();
|
||||
$data = [
|
||||
'id' => $id,
|
||||
'name' => $row['name'],
|
||||
'mobile' => mobile_asterisk($row['mobile']),
|
||||
'admin_img' => 'https://img.liche.cn/liche/2021/08/7725fc9ab0dc0ba1/f3c84cf3b805bac4.png',
|
||||
'admin_img' => $orders_entity::API_ADMIN_IMG,
|
||||
'payway' => $row['brand_id'] ? $row['payway'] : '',
|
||||
'car_data' => $car_data,
|
||||
'pay_status' => $pay_status,
|
||||
'pay_img' => $pay_img,
|
||||
'pay_img' => $orders_entity::API_PAY_IMG,
|
||||
'loan_status' => $loan_status,
|
||||
'loan_data' => $loan_data,
|
||||
'bill_status' => $bill_status,
|
||||
|
||||
@@ -112,11 +112,12 @@ class Cusorder2 extends Wxapp{
|
||||
$this->load->library('entity/deal_entity',['app_id'=>1]);
|
||||
$this->deal_entity->deal_log($o_id);
|
||||
//意向金订单
|
||||
$orders_entity = new Orders_entity();
|
||||
if($inten_money){
|
||||
$userinfo = $this->app_liche_users_model->get(['mobile'=>$data['mobile']]);
|
||||
$this->orders_entity->c_intention($o_id,$userinfo,$inten_money);
|
||||
$orders_entity->c_intention($o_id,$userinfo,$inten_money);
|
||||
}
|
||||
return ['id'=>$o_id];
|
||||
return ['id'=>$o_id,'admin_img' => $orders_entity::API_ADMIN_IMG,'pay_img'=>$orders_entity::API_PAY_IMG];
|
||||
}
|
||||
|
||||
//修改订单信息
|
||||
|
||||
@@ -8,6 +8,8 @@ class Orders_entity{
|
||||
const SRV_MCH_ID = '1612636924'; //收取服务费商户号 厦门狸车服务
|
||||
const PRICE_FINANCE = 1000; //金融服务费写死
|
||||
const PRICE_FINANCE_NZ = 2000; //哪吒金融服务费
|
||||
const API_ADMIN_IMG = 'https://img.liche.cn/liche/2021/08/7725fc9ab0dc0ba1/f3c84cf3b805bac4.png'; //api 客服二维码
|
||||
const API_PAY_IMG = 'https://img.liche.cn/liche/1634022931.png'; //api 跳转支付二维码
|
||||
|
||||
private $ci;
|
||||
private $order_row;
|
||||
|
||||
Reference in New Issue
Block a user