diff --git a/miniprogram/lefu/service.ts b/miniprogram/lefu/service.ts index 45e76e7..a855364 100644 --- a/miniprogram/lefu/service.ts +++ b/miniprogram/lefu/service.ts @@ -20,10 +20,10 @@ const plugin = requirePlugin('ppScale-plugin') as LeFuPlugin const LEFU_CONFIG: LeFuConfig = { key: 'lefudc91611833e18d94', secret: 'eQ50JYimMp0X7uhNLj6D3lTEk4TUUvEG7dvaqKM9t1U=', - domain1: 'http://10.10.10.10:8889', - domain2: 'http://10.10.10.10:8889/weight', - // domain1: 'http://device.shuziweidao.com:80/gateway', - // domain2: 'http://device.shuziweidao.com:80/weight', + // domain1: 'http://10.10.10.10:8889', + // domain2: 'http://10.10.10.10:8889/weight', + domain1: 'http://device.shuziweidao.com:80/gateway', + domain2: 'http://device.shuziweidao.com:80/weight', } /** 支持的设备型号配置列表(5款) */ diff --git a/miniprogram/pages/addMember/addMember.wxml b/miniprogram/pages/addMember/addMember.wxml index b134d12..5358b01 100644 --- a/miniprogram/pages/addMember/addMember.wxml +++ b/miniprogram/pages/addMember/addMember.wxml @@ -7,7 +7,7 @@ - + diff --git a/miniprogram/utils/request/index.ts b/miniprogram/utils/request/index.ts index e8f0106..7921630 100644 --- a/miniprogram/utils/request/index.ts +++ b/miniprogram/utils/request/index.ts @@ -2,8 +2,8 @@ import type { ApiResponse, HttpMethod, RequestOptions } from './types' export type { ApiResponse, RequestOptions } -const BASE_URL = 'http://10.10.10.10:8889/' // 测试环境 -// const BASE_URL = 'https://device.shuziweidao.com/gateway/' // 正式环境 +// const BASE_URL = 'http://10.10.10.10:8889/' // 测试环境 +const BASE_URL = 'https://device.shuziweidao.com/gateway/' // 正式环境 let _loadingCount = 0