heyang 2 年 前
コミット
6544376967

+ 1 - 0
api/request/config.js

@@ -18,3 +18,4 @@ const config = {
     //base_url: 'https://znyj.labcenter.suda.edu.cn/labSystem/', //苏大临时地址
 }
 export { config }
+

+ 2 - 2
pages.json

@@ -56,9 +56,9 @@
 			}
 		},
 		{
-			"path": "pages/faceImage",//人脸图像
+			"path": "pages/faceImage",//身份验证
 			"style": {
-				"navigationBarTitleText": "人脸图像"
+				"navigationBarTitleText": "身份验证"
 			}
 		},
 		{

+ 1 - 0
pages/avatar.vue

@@ -80,6 +80,7 @@
 				uni.navigateBack();
 			},
 			async uploadImg(tempFilePaths){
+				console.log(tempFilePaths)
 			    var self = this;
 			    uni.showLoading({
 			        title: '上传中',

+ 2 - 2
pages/faceImage.vue

@@ -1,4 +1,4 @@
-<!-- 人脸图像 -->
+<!-- 身份验证 -->
 <template>
     <view id="faceImage">
         <view class="max-box">
@@ -78,7 +78,7 @@
                             },2000);
                         }else{
                             uni.showToast({
-                                title: '您上传的人脸图像无法识别,请重新上传其他照片',
+                                title: '您上传的身份验证无法识别,请重新上传其他照片',
                                 icon:"none",
                                 mask:true,
                                 duration: 2000

+ 3 - 3
pages/mine.vue

@@ -78,7 +78,7 @@
         </view>
         <view class="button-max-box" @click="goPage('faceImage')">
           <img class="left-img" src="@/images/icon_001.png">
-          <view>人脸图像</view>
+          <view>身份验证</view>
           <view class="view-three-type" :class="!ifFaceFeature?'colorA':'marginType'">{{!ifFaceFeature?'去认证':'已认证'}}</view>
           <img class="right-img" src="@/images/icon_04.png">
         </view>
@@ -197,7 +197,7 @@ export default {
       if(data.code == 200){
         this.userData = data.data;
         this.userData.avatar=data.data.avatar;
-		
+
         this.userData.avatarUrl=config.base_url+data.data.avatar;
 		console.log(config.base_url)
 		console.log(this.userData.avatarUrl)
@@ -320,7 +320,7 @@ export default {
         uni.navigateTo({
           url: '/pages_student/mine/pointsRecord',
         });
-      }else if(type == 'faceImage'){//人脸图像
+      }else if(type == 'faceImage'){//身份验证
         uni.navigateTo({
           url: '/pages/faceImage',
         });

+ 1 - 1
pages_manage/workbench/signature/signatureImg.vue

@@ -54,7 +54,7 @@
 				this.srcData = imagePath;
 				//小程序电子签名抠图生成图片
 				uni.uploadFile({
-				    url: config.base_url+'/app/sysuser/api/genSign', //仅为示例,非真实的接口地址
+				    url: config.base_url+'/base/app/sysuser/api/genSign', //仅为示例,非真实的接口地址
 				    header:{'Authorization':uni.getStorageSync('token')},
 				    filePath: imagePath,
 				    name: 'file',

+ 1 - 1
pages_student/mine/upStudentCard.vue

@@ -104,7 +104,7 @@
                     mask: true
                 });
                 uni.uploadFile({
-                    url: config.base_url+'/app/lab/api/commit/crad', //仅为示例,非真实的接口地址
+                    url: config.base_url+'/base/app/lab/api/commit/crad', //仅为示例,非真实的接口地址
                     header:{'Authorization':uni.getStorageSync('token')},
                     filePath: self.realImgUrl,
                     name: 'file',

+ 2 - 2
pages_student/workbench/safeAccess/accessApplication.vue

@@ -3,7 +3,7 @@
     <view id="accessApplication">
         <view class="button-max-box" @click="goFaceImage">
             <img src="@/pages_student/images/icon_001.png">
-            <view>人脸图像</view>
+            <view>身份验证</view>
             <view :class="!identifyType?'colorA':'marginType'">{{!identifyType?'去认证':'已认证'}}</view>
             <img v-if="!identifyType" src="@/pages_student/images/icon_04.png">
         </view>
@@ -42,7 +42,7 @@
                 let self = this;
                 if(!this.identifyType){
                     uni.showToast({
-                        title: '请先认证人脸图像',
+                        title: '请先认证身份验证',
                         icon:"none",
                         mask:true,
                         duration: 2000