Bläddra i källkod

修复支付问题

chenxiqiang 6 år sedan
förälder
incheckning
d5407f867f

+ 1
- 1
manage-server/app/Http/Middleware/CheckToken.php Visa fil

16
     public function handle($request, Closure $next)
16
     public function handle($request, Closure $next)
17
     {
17
     {
18
 
18
 
19
-        $wechat_id = $request->input("openid");
19
+        $wechat_id = $request->header("openid");
20
         if(!$wechat_id) {
20
         if(!$wechat_id) {
21
             return Response()->json([
21
             return Response()->json([
22
                 "status" => -1,
22
                 "status" => -1,

+ 1
- 1
miniapp/app/project.config.json Visa fil

33
 			"list": []
33
 			"list": []
34
 		},
34
 		},
35
 		"miniprogram": {
35
 		"miniprogram": {
36
-			"current": 0,
36
+			"current": -1,
37
 			"list": [
37
 			"list": [
38
 				{
38
 				{
39
 					"id": -1,
39
 					"id": -1,

Loading…
Avbryt
Spara