Bladeren bron

修复支付问题

chenxiqiang 6 jaren geleden
bovenliggende
commit
407a368423
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      manage-server/app/Http/Controllers/CommonController.php

+ 2
- 2
manage-server/app/Http/Controllers/CommonController.php Bestand weergeven

@@ -107,11 +107,11 @@ class CommonController extends Controller
107 107
         //$user = session('wechat.oauth_user.default');
108 108
         //$wechat_id = $user->getId();
109 109
         $wechat_id = $request->header("openid");
110
-        if ($wechat_id && $order_id && $title && $content) {
110
+        if ($wechat_id && $order_id && $content) {
111 111
             $comment = new Comment;
112 112
             $comment->order_id = $order_id;
113 113
             $comment->order_type = $order_type;
114
-            $comment->title = $title;
114
+            $comment->title = "";
115 115
             $comment->content = $content;
116 116
             $comment->show = 0;
117 117
             $comment->wechat_id = $wechat_id;

Loading…
Annuleren
Opslaan