diff --git a/config/api/base.js b/config/api/base.js
index 0e61a94..a6f79b9 100644
--- a/config/api/base.js
+++ b/config/api/base.js
@@ -1,5 +1,5 @@
// api基础地质
-export const BASE_URL = 'https://test.tall.wiki/gateway';
+export const BASE_URL = 'https://www.tall.wiki/gateway';
// 错误码
export const ERR_CODE = 200;
diff --git a/pages/add-stroke/add-stroke.vue b/pages/add-stroke/add-stroke.vue
index a5b3911..46c74bb 100644
--- a/pages/add-stroke/add-stroke.vue
+++ b/pages/add-stroke/add-stroke.vue
@@ -23,7 +23,7 @@
- 出行交通方式(必选)
+ *出行交通方式
-
+
*是否在学校所在地
@@ -85,24 +91,24 @@
-
+
*当前体温(℃)
-
+
-
+
*紧急联系人
-
-
+
+
-
+
备注(选填)
-
-
+
+
@@ -265,9 +271,9 @@
ChooseImage() {
uni.chooseImage({
- count: 9, //默认9
+ count: 1, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album'], //从相册选择
+ sourceType: ['album', 'camera'], //从相册选择
success: (res) => {
if (this.imgList.length != 0) {
this.imgList = this.imgList.concat(res.tempFilePaths)
@@ -275,7 +281,7 @@
this.imgList = res.tempFilePaths
}
uni.uploadFile({
- url: `https://test.tall.wiki/gateway${HEALTH_FILE}`,
+ url: `https://www.tall.wiki/gateway${HEALTH_FILE}`,
filePath: res.tempFilePaths[0],
fileType: 'image',
name: 'file',
@@ -429,8 +435,8 @@
showToast('请选择状态');
return;
}
- if (!animalHeat) {
- showToast('请输入当前体温');
+ if (!animalHeat || animalHeat<30 || animalHeat>45) {
+ showToast('请输入正确的体温值(范围:30℃~45℃)');
return;
}
if (!emergencyName) {
diff --git a/pages/user-code/user-code.vue b/pages/user-code/user-code.vue
index 7fec419..3edff87 100644
--- a/pages/user-code/user-code.vue
+++ b/pages/user-code/user-code.vue
@@ -8,10 +8,10 @@
{{ userInfo.name }}
{{ post }}
-
+
手机号:
{{ userInfo.phone }}
diff --git a/utils/user.js b/utils/user.js
index a6f5ebe..aed72f2 100644
--- a/utils/user.js
+++ b/utils/user.js
@@ -54,8 +54,8 @@ export const wxLogin = () => {
client: SIGN_IN_CLIENTS['mp'],
type: SIGN_IN_TYPES['mp'],
data: { identifier: response.code, credential: 'health' },
- redirect: 'https://test.tall.wiki/gateway/health/initMsg',
- // redirect: 'https://www.tall.wiki/gateway/health/initMsg',
+ // redirect: 'https://test.tall.wiki/gateway/health/initMsg',
+ redirect: 'https://www.tall.wiki/gateway/health/initMsg',
};
resolve(params);
} else {
@@ -81,8 +81,8 @@ export const wxWorkLogin = () => {
client: SIGN_IN_CLIENTS['wx_work'],
type: SIGN_IN_TYPES['wx_work'],
data: { identifier: response.code, credential: 'health' },
- redirect: 'https://test.tall.wiki/gateway/health/initMsg',
- // redirect: 'https://www.tall.wiki/gateway/health/initMsg',
+ // redirect: 'https://test.tall.wiki/gateway/health/initMsg',
+ redirect: 'https://www.tall.wiki/gateway/health/initMsg',
};
resolve(params);
} else {