data($result); } /** * @notes 客服设置 * @return \think\response\Json * @author Tab * @date 2021/8/11 17:36 */ public function setConfig() { $params = $this->request->post(); ServiceLogic::setConfig($params); return $this->success('设置成功', [], 1, 1); } }