|
@@ -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;
|