getMessage()); } } /** * 同步POI门店 * @param Request $request * @return Response */ #[GetMapping('sync')] public function syncStore(Request $request): Response { try { Redis::send("sync-store",[ "appid" => sConf("wechat.appid"), "secret" => sConf("wechat.secret"), "account" => sConf("wechat.shop_id"), ]); return success("发起成功"); } catch (\Throwable $throwable) { return error($throwable->getMessage()); } } }