getConfig(); return $this->success('',$data); } /** * @notes 获取政策协议 * @return \think\response\Json * @author Tab * @date 2021/7/28 16:06 */ public function getPolicyAgreement() { $result = (new ConfigLogic())->getPolicyAgreement(); return $this->data($result); } /** * @notes 版权资质 * @return \think\response\Json * @author ljj * @date 2022/2/22 11:49 上午 */ public function copyright() { $result = (new ConfigLogic())->copyright(); return $this->success('',$result); } /** * @notes 获取客服配置 * @return \think\response\Json * @author ljj * @date 2024/8/28 下午4:07 */ public function getKefuConfig() { $result = (new ConfigLogic())->getKefuConfig(); return $this->data($result); } /** * @notes 获取分享配置 * @return \think\response\Json * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException * @author ljj * @date 2024/9/11 下午3:20 */ public function getShareConfig() { $result = (new ConfigLogic())->getShareConfig(); return $this->data($result); } }