zz %!s(int64=5) %!d(string=hai) anos
pai
achega
727a66ff17
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Http/Controllers/Wap/Other/XiyueController.php

+ 1 - 0
app/Http/Controllers/Wap/Other/XiyueController.php

@@ -15,6 +15,7 @@ class XiyueController extends Controller
         $openid = $request->post('openid');
         $sign = $request->post('sign');
         $amount = $request->post('amount');
+        $amount = (int)$amount;
         $mySign = _sign(compact('openid','amount'),'8T5MJy4FsJoZspq8');
         if($sign != $mySign){
             return response()->error('PARAM_ERROR');