|
|
@@ -736,7 +736,7 @@ class Access
|
|
736
|
736
|
$groupOrder = Db::name('order_huafei_hf')->where('order_id', (int)$oid)->find();
|
|
737
|
737
|
if (!$groupOrder) return app('json')->fail('订单不存在或已支付');
|
|
738
|
738
|
|
|
739
|
|
- $res = $this->pay_huifu($type,$code,$groupOrder,"储蓄保",env('APP_URL')."/api/hf_notify/huafei",'delay');
|
|
|
739
|
+ $res = $this->pay_huifu($type,$code,$groupOrder,"幸福宝",env('APP_URL')."/api/hf_notify/huafei",'delay');
|
|
740
|
740
|
Db::name('log')->insert(['data'=>'汇付话费订单支付--- 返回参数'.json_encode($res)]);
|
|
741
|
741
|
if (isset($res['id'])) {
|
|
742
|
742
|
return app('json')->success($res);
|
|
|
@@ -836,7 +836,7 @@ class Access
|
|
836
|
836
|
->where(["sc.cart_id"=>$cart_id])
|
|
837
|
837
|
->value('sp.store_name');
|
|
838
|
838
|
}
|
|
839
|
|
- $res = $this -> pay_huifu($type,$code,$groupOrder,$product ?? "储蓄保",env('APP_URL')."/api/hf_notify/pay",'delay');
|
|
|
839
|
+ $res = $this -> pay_huifu($type,$code,$groupOrder,$product ?? "幸福宝",env('APP_URL')."/api/hf_notify/pay",'delay');
|
|
840
|
840
|
Db::name('log')->insert(['data'=>'汇付订单支付--- 返回参数'.json_encode($res)]);
|
|
841
|
841
|
if (isset($res['id'])) {
|
|
842
|
842
|
Db::name('store_group_order')->where('group_order_id', $oid)->update(['hf_pay_id' => $res['id'],'pay_wx'=>systemConfig('pay_wx')]);
|
|
|
@@ -881,7 +881,7 @@ class Access
|
|
881
|
881
|
Db::name("log")->insert(array('data'=>Db::name("store_product")->getLastSql()));//日志记录
|
|
882
|
882
|
|
|
883
|
883
|
$productDetails = array(
|
|
884
|
|
- 'name' => $product ?? "储蓄保",//商品名称。需传递真实产品名称。
|
|
|
884
|
+ 'name' => $product ?? "幸福宝",//商品名称。需传递真实产品名称。
|
|
885
|
885
|
'quantity' => 1,//商品数量
|
|
886
|
886
|
'amount' => strval($groupOrder['pay_price'] * 100),//商品单价
|
|
887
|
887
|
);
|
|
|
@@ -942,7 +942,7 @@ class Access
|
|
942
|
942
|
->where(["sc.cart_id"=>$cart_id])
|
|
943
|
943
|
->value('sp.store_name');
|
|
944
|
944
|
}
|
|
945
|
|
- $res = $this -> pay_huifu($type,$code,$groupOrder,$product ?? "储蓄保",env('APP_URL')."/api/hf_notify/pay",'delay');
|
|
|
945
|
+ $res = $this -> pay_huifu($type,$code,$groupOrder,$product ?? "幸福宝",env('APP_URL')."/api/hf_notify/pay",'delay');
|
|
946
|
946
|
Db::name('log')->insert(['data'=>'汇付订单支付--- 返回参数'.json_encode($res)]);
|
|
947
|
947
|
if (isset($res['id'])) {
|
|
948
|
948
|
Db::name('store_group_order')->where('group_order_id', $oid)->update(['hf_pay_id' => $res['id'],'pay_wx'=>systemConfig('pay_wx')]);
|
|
|
@@ -987,7 +987,7 @@ class Access
|
|
987
|
987
|
Db::name("log")->insert(array('data'=>Db::name("store_product")->getLastSql()));//日志记录
|
|
988
|
988
|
|
|
989
|
989
|
$productDetails = array(
|
|
990
|
|
- 'name' => $product ?? "储蓄保",//商品名称。需传递真实产品名称。
|
|
|
990
|
+ 'name' => $product ?? "幸福宝",//商品名称。需传递真实产品名称。
|
|
991
|
991
|
'quantity' => 1,//商品数量
|
|
992
|
992
|
'amount' => strval($groupOrder['pay_price'] * 100),//商品单价
|
|
993
|
993
|
);
|
|
|
@@ -1064,8 +1064,8 @@ class Access
|
|
1064
|
1064
|
'app_id'=>$app_id,
|
|
1065
|
1065
|
'pay_channel'=>$pay_channel,
|
|
1066
|
1066
|
'pay_amt'=>strval($groupOrder['pay_price']),//金额。,
|
|
1067
|
|
- 'goods_title'=>$product ?? "储蓄保",
|
|
1068
|
|
- 'goods_desc'=>$product ?? "储蓄保",
|
|
|
1067
|
+ 'goods_title'=>$product ?? "幸福宝",
|
|
|
1068
|
+ 'goods_desc'=>$product ?? "幸福宝",
|
|
1069
|
1069
|
'device_info'=>[
|
|
1070
|
1070
|
'device_ip'=>app('request')->ip()
|
|
1071
|
1071
|
// 'device_ip'=>'115.171.134.68'
|
|
|
@@ -1094,8 +1094,8 @@ class Access
|
|
1094
|
1094
|
'app_id'=>$app_id,
|
|
1095
|
1095
|
'pay_channel'=>$pay_channel,
|
|
1096
|
1096
|
'pay_amt'=>strval($groupOrder['pay_price']),//金额。,
|
|
1097
|
|
- 'goods_title'=>$product ?? "储蓄保",
|
|
1098
|
|
- 'goods_desc'=>$product ?? "储蓄保",
|
|
|
1097
|
+ 'goods_title'=>$product ?? "幸福宝",
|
|
|
1098
|
+ 'goods_desc'=>$product ?? "幸福宝",
|
|
1099
|
1099
|
'device_info'=>[
|
|
1100
|
1100
|
'device_ip'=>app('request')->ip()
|
|
1101
|
1101
|
// 'device_ip'=>'115.171.134.68'
|
|
|
@@ -1208,7 +1208,7 @@ class Access
|
|
1208
|
1208
|
Db::name("log")->insert(array('data'=>Db::name("store_product")->getLastSql()));//日志记录
|
|
1209
|
1209
|
|
|
1210
|
1210
|
$productDetails = array(
|
|
1211
|
|
- 'name' => $product ?? "储蓄保年费",//商品名称。需传递真实产品名称。
|
|
|
1211
|
+ 'name' => $product ?? "幸福宝年费",//商品名称。需传递真实产品名称。
|
|
1212
|
1212
|
'quantity' => 1,//商品数量
|
|
1213
|
1213
|
'amount' => strval($groupOrder['pay_price'] * 100),//商品单价
|
|
1214
|
1214
|
);
|