Merge pull request 'update' (#54) from zhangwei into dev
Reviewed-on: #54
This commit is contained in:
commit
7b0af59720
@ -149,7 +149,7 @@ class ImController extends BaseLikeAdminController
|
|||||||
//给user用户发
|
//给user用户发
|
||||||
Gateway::sendToUid($this->sceneText(0).'_'.$params['to_user_id'], json_encode($sendData));
|
Gateway::sendToUid($this->sceneText(0).'_'.$params['to_user_id'], json_encode($sendData));
|
||||||
}
|
}
|
||||||
return $this->success('发送成功');
|
return $this->success('发送成功',$sendData);
|
||||||
}catch (\Exception $e) {
|
}catch (\Exception $e) {
|
||||||
return $this->fail($e->getMessage());
|
return $this->fail($e->getMessage());
|
||||||
}
|
}
|
||||||
@ -242,7 +242,7 @@ class ImController extends BaseLikeAdminController
|
|||||||
//给user用户发
|
//给user用户发
|
||||||
Gateway::sendToUid($this->sceneText(0).'_'.$params['to_user_id'], json_encode($sendData));
|
Gateway::sendToUid($this->sceneText(0).'_'.$params['to_user_id'], json_encode($sendData));
|
||||||
}
|
}
|
||||||
return $this->success('发送成功');
|
return $this->success('发送成功',$sendData );
|
||||||
}catch (\Exception $e) {
|
}catch (\Exception $e) {
|
||||||
return $this->fail($e->getMessage());
|
return $this->fail($e->getMessage());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user