diff --git a/.env.development b/.env.development
index d8e7453..c00ccb1 100644
--- a/.env.development
+++ b/.env.development
@@ -4,3 +4,4 @@ MP_CACHE_PREFIX=development
MP_WX_APP_ID=wx93af55767423938e
MP_CORP_ID=wwe3fb2faa52cf9dfb
MP_TIM_SDK_APP_ID=1600123876
+MP_INVITE_TEAMMATE_QRCODE=https://patient.youcan365.com/invite-teammate
diff --git a/.env.ip b/.env.ip
new file mode 100644
index 0000000..943dbe3
--- /dev/null
+++ b/.env.ip
@@ -0,0 +1,8 @@
+MP_API_BASE_URL=http://192.168.60.2:8080
+MP_IMAGE_URL=https://patient.youcan365.com
+MP_CACHE_PREFIX=development
+MP_WX_APP_ID=wx93af55767423938e
+MP_CORP_ID=wwe3fb2faa52cf9dfb
+MP_TIM_SDK_APP_ID=1600123876
+MP_INVITE_TEAMMATE_QRCODE=https://patient.youcan365.com/invite-teammate
+
diff --git a/.env.localhost b/.env.localhost
index d8e7453..c00ccb1 100644
--- a/.env.localhost
+++ b/.env.localhost
@@ -4,3 +4,4 @@ MP_CACHE_PREFIX=development
MP_WX_APP_ID=wx93af55767423938e
MP_CORP_ID=wwe3fb2faa52cf9dfb
MP_TIM_SDK_APP_ID=1600123876
+MP_INVITE_TEAMMATE_QRCODE=https://patient.youcan365.com/invite-teammate
diff --git a/package.json b/package.json
index d40d825..c1c3bdf 100644
--- a/package.json
+++ b/package.json
@@ -1,34 +1,40 @@
{
- "name": "ykt-wxapp",
- "version": "1.0.0",
- "description": "",
- "main": "main.js",
- "scripts": {
- "prebuild": "node scripts/pre-build.js",
- "test": "echo \"Error: no test specified\" && exit 1"
- },
- "author": "",
- "license": "ISC",
- "dependencies": {
- "dayjs": "^1.11.10",
- "tim-upload-plugin": "^1.4.2",
- "tim-wx-sdk": "^2.27.6"
- },
- "uni-app": {
- "scripts": {
- "dev": {
- "title": "测试",
- "env": {
- "UNI_PLATFORM": "mp-weixin"
- }
- },
+ "name": "ykt-wxapp",
+ "version": "1.0.0",
+ "description": "",
+ "main": "main.js",
+ "scripts": {
+ "prebuild": "node scripts/pre-build.js",
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "author": "",
+ "license": "ISC",
+ "dependencies": {
+ "dayjs": "^1.11.10",
+ "tim-upload-plugin": "^1.4.2",
+ "tim-wx-sdk": "^2.27.6"
+ },
+ "uni-app": {
+ "scripts": {
+ "dev": {
+ "title": "测试",
+ "env": {
+ "UNI_PLATFORM": "mp-weixin"
+ }
+ },
"localhost": {
- "title": "本地",
- "env": {
- "UNI_PLATFORM": "mp-weixin"
- }
- }
- }
- },
- "devDependencies": {}
-}
+ "title": "本地",
+ "env": {
+ "UNI_PLATFORM": "mp-weixin"
+ }
+ },
+ "ip": {
+ "title": "本机ip",
+ "env": {
+ "UNI_PLATFORM": "mp-weixin"
+ }
+ }
+ }
+ },
+ "devDependencies": {}
+}
\ No newline at end of file
diff --git a/pages/login/redirect-page.vue b/pages/login/redirect-page.vue
index 14fb39f..37359bb 100644
--- a/pages/login/redirect-page.vue
+++ b/pages/login/redirect-page.vue
@@ -4,43 +4,66 @@