data($result); } /** * @notes 设置客服设置 * @return \think\response\Json * @author ljj * @date 2022/2/15 12:11 下午 */ public function setConfig() { $params = $this->request->post(); CustomerServiceLogic::setConfig($params); return $this->success('设置成功', [], 1, 1); } }