xiaogang il y a 4 ans
Parent
commit
6bcadb4249
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      app/Services/PayService.php

+ 1 - 0
app/Services/PayService.php

xqd
@@ -62,6 +62,7 @@ class PayService
 
     public static function pay($param){
         if($param['payment'] == 1){
+            $param['total_fee'] = $param['total_fee']*100;
             $wechat = Pay::wechat(self::wx_config());
             return $wechat->app($param)->send();
         }else{