mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
客服头像问题修复
This commit is contained in:
parent
a17cd960c6
commit
7945d7cc0c
@ -40,8 +40,11 @@ class StoreService
|
||||
/**
|
||||
* 客服聊天记录
|
||||
* @param Request $request
|
||||
* @param $toUid
|
||||
* @param StoreServiceServices $services
|
||||
* @return array
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function record(Request $request, StoreServiceServices $services)
|
||||
{
|
||||
|
||||
@ -83,7 +83,7 @@ class StoreServiceLogDao extends BaseDao
|
||||
$query->where('id', '<', $upperId)->limit($limit)->order('id DESC');
|
||||
})->when(!$upperId, function ($query) use ($limit) {
|
||||
$query->limit($limit)->order('id DESC');
|
||||
})->with(['user', 'service'])->select()->toArray();
|
||||
})->with(['user'])->select()->toArray();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -261,8 +261,11 @@ class Service extends AuthController
|
||||
|
||||
/**
|
||||
* 聊天记录
|
||||
* @param $uid
|
||||
* @param Request $request
|
||||
* @return mixed
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function getChatList(Request $request)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user