edit-api-pay_img

This commit is contained in:
lccsw
2022-04-01 12:25:17 +08:00
parent ac8108efe6
commit 1d814e7125
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -211,7 +211,7 @@ class CusorderV2 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,'pay_img'=>$orders_entity::API_CREATE_PAY_IMG];
return ['id'=>$o_id,'pay_img'=>$orders_entity::API_PAY_IMG];
}else{
throw new Exception('创建失败', ERR_PARAMS_ERROR);
}
@@ -289,7 +289,7 @@ class CusorderV2 extends Wxapp{
$userinfo = $this->app_liche_users_model->get(['mobile'=>$data['mobile']],'id');
$orders_entity->c_intention($o_id,$userinfo['id'],$inten_money);
}
return ['id'=>$o_id,'pay_img'=>$orders_entity::API_CREATE_PAY_IMG];
return ['id'=>$o_id,'pay_img'=>$orders_entity::API_PAY_IMG];
}
//修改订单信息
@@ -10,9 +10,8 @@ class Orders_v2_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 意向金跳转支付二维码
const API_CREATE_PAY_IMG = 'https://img.liche.cn/liche/2021/11/65b34b962f5f06b3/62e7d28d77bfe404.png'; //api 狸车我的页面
const API_PAY_IMG = 'https://img.liche.cn/liche/2022/04/22ed0636993504bc/18ad8baab11b2891.png'; //api 跳转支付二维码
//const API_CREATE_PAY_IMG = 'https://img.liche.cn/liche/2021/11/65b34b962f5f06b3/62e7d28d77bfe404.png'; //api 狸车我的页面
const V2_START_ID = 10000; //升级后订单开始
private $ci;