ios 兼容旧包

master
tpingzhang 5 years ago
parent 5d655db09d
commit a3dae951f2

@ -124,7 +124,7 @@ class AppleController extends BaseController{
echo json_encode(['code'=>0,'msg'=>'订单号重复,请关闭支付页面重新支付']);exit; echo json_encode(['code'=>0,'msg'=>'订单号重复,请关闭支付页面重新支付']);exit;
} }
$this->other_price($request); // $this->other_price($request);
if(get_zfb_type()==0){ // 支付宝官方 if(get_zfb_type()==0){ // 支付宝官方
if(C('alipay.way')==1/* || ($request['is_create_ordernumer']==1 && C('alipay.way')==0) */){ /* wap */ if(C('alipay.way')==1/* || ($request['is_create_ordernumer']==1 && C('alipay.way')==0) */){ /* wap */
@ -400,7 +400,7 @@ class AppleController extends BaseController{
$pay_amount = $discount * $request['price'] / 10; $pay_amount = $discount * $request['price'] / 10;
// file_put_contents(dirname(__FILE__).'/1222222.txt',get_wx_pay_type()); // file_put_contents(dirname(__FILE__).'/1222222.txt',get_wx_pay_type());
// 绑币平台币优先处理 // 绑币平台币优先处理
$this->other_price($request, $discountAmount); // $this->other_price($request, $discountAmount);
//0 官方 1威富通 2俊付通 //0 官方 1威富通 2俊付通
if (get_wx_pay_type() == 0) { if (get_wx_pay_type() == 0) {

Loading…
Cancel
Save