xiaogang 4 år sedan
förälder
incheckning
d81da2b5ff
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      app/Services/PayService.php

+ 2 - 1
app/Services/PayService.php

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