This commit is contained in:
unknown 2023-10-07 11:30:10 +08:00
parent cb976433ce
commit fb79526c42

View File

@ -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());
} }