正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -96,7 +96,7 @@ class Pay extends Api | @@ -96,7 +96,7 @@ class Pay extends Api | ||
96 | Db::name('coupon')->insertGetId($coupon); | 96 | Db::name('coupon')->insertGetId($coupon); |
97 | Db::name('teacher')->where('id',$order['teacher_id'])->setInc('help_num'); | 97 | Db::name('teacher')->where('id',$order['teacher_id'])->setInc('help_num'); |
98 | // 创建融云用户、群组 | 98 | // 创建融云用户、群组 |
99 | - $rongyun_chat = $this->rongyun_handle($is_one['user_id'].','.$is_one['teacher_id']); | 99 | + $rongyun_chat = $this->rongyun_handle($order['user_id'].','.$order['teacher_id']); |
100 | if($rongyun_chat) { | 100 | if($rongyun_chat) { |
101 | $update['chat_id'] = $rongyun_chat['chat_id']; | 101 | $update['chat_id'] = $rongyun_chat['chat_id']; |
102 | $update['chat_name'] = $rongyun_chat['chat_name']; | 102 | $update['chat_name'] = $rongyun_chat['chat_name']; |
@@ -117,7 +117,7 @@ class Pay extends Api | @@ -117,7 +117,7 @@ class Pay extends Api | ||
117 | $update['finish_status'] = 1; | 117 | $update['finish_status'] = 1; |
118 | Db::name('teacher')->where('id',$order['teacher_id'])->setInc('help_num'); | 118 | Db::name('teacher')->where('id',$order['teacher_id'])->setInc('help_num'); |
119 | // 创建融云用户、群组 | 119 | // 创建融云用户、群组 |
120 | - $rongyun_chat = $this->rongyun_handle($is_one['user_id'].','.$is_one['teacher_id']); | 120 | + $rongyun_chat = $this->rongyun_handle($order['user_id'].','.$order['teacher_id']); |
121 | if($rongyun_chat) { | 121 | if($rongyun_chat) { |
122 | $update['chat_id'] = $rongyun_chat['chat_id']; | 122 | $update['chat_id'] = $rongyun_chat['chat_id']; |
123 | $update['chat_name'] = $rongyun_chat['chat_name']; | 123 | $update['chat_name'] = $rongyun_chat['chat_name']; |
-
请 注册 或 登录 后发表评论