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