Quellcode durchsuchen

修复支付问题

chenxiqiang vor 6 Jahren
Ursprung
Commit
407a368423
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      manage-server/app/Http/Controllers/CommonController.php

+ 2
- 2
manage-server/app/Http/Controllers/CommonController.php Datei anzeigen

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

Loading…
Abbrechen
Speichern