...
|
...
|
@@ -96,7 +96,7 @@ class Pay extends Api |
|
|
Db::name('coupon')->insertGetId($coupon);
|
|
|
Db::name('teacher')->where('id',$order['teacher_id'])->setInc('help_num');
|
|
|
// 创建融云用户、群组
|
|
|
$rongyun_chat = $this->rongyun_handle($is_one['user_id'].','.$is_one['teacher_id']);
|
|
|
$rongyun_chat = $this->rongyun_handle($order['user_id'].','.$order['teacher_id']);
|
|
|
if($rongyun_chat) {
|
|
|
$update['chat_id'] = $rongyun_chat['chat_id'];
|
|
|
$update['chat_name'] = $rongyun_chat['chat_name'];
|
...
|
...
|
@@ -117,7 +117,7 @@ class Pay extends Api |
|
|
$update['finish_status'] = 1;
|
|
|
Db::name('teacher')->where('id',$order['teacher_id'])->setInc('help_num');
|
|
|
// 创建融云用户、群组
|
|
|
$rongyun_chat = $this->rongyun_handle($is_one['user_id'].','.$is_one['teacher_id']);
|
|
|
$rongyun_chat = $this->rongyun_handle($order['user_id'].','.$order['teacher_id']);
|
|
|
if($rongyun_chat) {
|
|
|
$update['chat_id'] = $rongyun_chat['chat_id'];
|
|
|
$update['chat_name'] = $rongyun_chat['chat_name'];
|
...
|
...
|
|