12345678910111213141516 |
- <?php
- namespace app\common\library;
- class Pay{
- public static function close($type,$orderNo){
- if($type=='zfbh5'){
- AliPay::ali_pay_calcel($orderNo);
- }elseif ($type=='wx'){
- $res=retrunWxConfig()
- ->close([
- 'out_trade_no'=>$orderNo,
- ]);
- user_log('wxOrderClose',$res);
- }
- }
- }
|