ソースを参照

修复支付问题

chenxiqiang 7 年 前
コミット
407a368423
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      manage-server/app/Http/Controllers/CommonController.php

+ 2
- 2
manage-server/app/Http/Controllers/CommonController.php ファイルの表示

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…
キャンセル
保存