From 04996ccda692eb48eecf1f7f789d208f03ba236c Mon Sep 17 00:00:00 2001 From: Loki <654612@qq.com> Date: Mon, 5 Sep 2022 13:45:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/retrofit/min_api.dart | 14 ++------------ lib/retrofit/retrofit_api.dart | 13 ++----------- 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/lib/retrofit/min_api.dart b/lib/retrofit/min_api.dart index f37552cb..1f2a6374 100644 --- a/lib/retrofit/min_api.dart +++ b/lib/retrofit/min_api.dart @@ -26,18 +26,8 @@ import 'data/shopping_home_config.dart'; part 'min_api.g.dart'; -// const base_url = "https://pos.api.lotus-wallet.com/app/"; ///正式 - -// const base_url = "http://user.prod.kunqi.lotus-wallet.com/app/"; ///222 - -// const base_url = "http://192.168.10.132:8765/app/";///詹云久 - - -// const base_url = "http://192.168.10.236:8765/app/"; ///费韬 - -// const base_url = "http://192.168.10.37:8765/app/"; - -const localBaseUrl = "http://192.168.10.236:8765/app/";///本地 +// const localBaseUrl = "http://192.168.10.129:8765/app/";///本地 +const localBaseUrl = "https://2946-27-19-77-115.jp.ngrok.io/app/";///本地 const serviceBaseUrl = "https://pos.api.lotus-wallet.com/app/";///线上 diff --git a/lib/retrofit/retrofit_api.dart b/lib/retrofit/retrofit_api.dart index fabaf924..8f74e4cc 100644 --- a/lib/retrofit/retrofit_api.dart +++ b/lib/retrofit/retrofit_api.dart @@ -61,17 +61,8 @@ import 'data/wx_pay.dart'; part 'retrofit_api.g.dart'; -// const base_url = "https://pos.platform.lotus-wallet.com/app/"; ///正式 - -// const base_url = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222 - -// const base_url = "http://192.168.10.236:8766/app/"; ///费韬 - -// const base_url = "http://192.168.10.37:8766/app/"; - -// const base_url = "http://192.168.10.132:8766/app/";///詹云久 - -const localBaseUrl = "http://192.168.10.236:8766/app/";///本地 +// const localBaseUrl = "http://192.168.10.129:8765/app/";///本地 +const localBaseUrl = "https://2946-27-19-77-115.jp.ngrok.io/app/";///本地 const serviceBaseUrl = "https://pos.platform.lotus-wallet.com/app/";///线上 @RestApi(baseUrl: localBaseUrl)