From f7a42264da6c6ae71fcf3e74346ffb4a1fbda484 Mon Sep 17 00:00:00 2001 From: hs <873121290@qq.com> Date: Mon, 16 Mar 2026 14:28:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/http/ApiService.dart | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/http/ApiService.dart b/lib/http/ApiService.dart index 14474b4..494b83a 100644 --- a/lib/http/ApiService.dart +++ b/lib/http/ApiService.dart @@ -9,19 +9,19 @@ class ApiService { static final bool isProduct = true; /// 登录及其他管理后台接口 - static final String basePath = "http://192.168.198.8:30140"; - // static final String basePath = - // isProduct - // ? "https://gbs-gateway.qhdsafety.com" - // : "http://192.168.20.100:30140"; + // static final String basePath = "http://192.168.198.8:30140"; + static final String basePath = + isProduct + ? "https://gbs-gateway.qhdsafety.com" + : "http://192.168.20.100:30140"; /// 图片文件服务 - // static final String baseImgPath = - // isProduct - // ? "https://jpfz.qhdsafety.com/gbsFileTest/" - // : "http://192.168.20.240:9787/mnt/"; //内网图片地址 - static final String baseImgPath = "https://skqhdg.porthebei.com:9004/file/uploadFiles2/"; + static final String baseImgPath = + isProduct + ? "https://jpfz.qhdsafety.com/gbsFileTest/" + : "http://192.168.20.240:9787/mnt/"; //内网图片地址 + // static final String baseImgPath = "https://skqhdg.porthebei.com:9004/file/uploadFiles2/"; static const publicKey =