Your Name 2 anni fa
parent
commit
fff88a393b

+ 9
- 0
api/login.js Vedi File

64
 		'url': '/identityAuthentication/selectIdentityAuthenticaEIDtoken',
64
 		'url': '/identityAuthentication/selectIdentityAuthenticaEIDtoken',
65
 		method: 'post',
65
 		method: 'post',
66
 	})
66
 	})
67
+}
68
+
69
+// 发送人脸认证之后的eidtoken
70
+export function sendEidtoken(data) {
71
+	return request({
72
+		'url': '/identityAuthentication/selectIdentityAuthenticaRespon',
73
+		method: 'post',
74
+		data: data
75
+	})
67
 }
76
 }

+ 0
- 5
pages.json Vedi File

70
 			"style": {
70
 			"style": {
71
 				"navigationBarTitleText": "浏览文本"
71
 				"navigationBarTitleText": "浏览文本"
72
 			}
72
 			}
73
-		}, {
74
-			"path": "pages/certification/index",
75
-			"style": {
76
-				"navigationBarTitleText": "实名认证"
77
-			}
78
 		},
73
 		},
79
 		{
74
 		{
80
 			"path": "pages/handlecase/index",
75
 			"path": "pages/handlecase/index",

+ 8
- 2
pages/work/index.vue Vedi File

95
 		startEid
95
 		startEid
96
 	} from '../../mp_ecard_sdk/main.js'
96
 	} from '../../mp_ecard_sdk/main.js'
97
 	import {
97
 	import {
98
-		getEidtoken
98
+		getEidtoken,
99
+		sendEidtoken
99
 	} from "../../api/login.js"
100
 	} from "../../api/login.js"
100
 	export default {
101
 	export default {
101
 		data() {
102
 		data() {
173
 						console.log('收到核身完成的res:', res);
174
 						console.log('收到核身完成的res:', res);
174
 						console.log('核身的token是:', token);
175
 						console.log('核身的token是:', token);
175
 						console.log('是否完成核身:', verifyDone);
176
 						console.log('是否完成核身:', verifyDone);
177
+						sendEidtoken({
178
+							"eidToken": token
179
+						}).then(res => {
180
+							that.certificationStatus = '已认证'
181
+						})
176
 						// flagShow = '已认证'
182
 						// flagShow = '已认证'
177
 						// console.log(flagShow, "JKJJKJKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk");
183
 						// console.log(flagShow, "JKJJKJKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk");
178
 						// console.log(this, "PPPPPPPPPPPPPPP");
184
 						// console.log(this, "PPPPPPPPPPPPPPP");
179
-						that.certificationStatus = '已认证'
185
+
180
 					},
186
 					},
181
 				});
187
 				});
182
 			}
188
 			}

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
File diff suppressed because it is too large
Vedi File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
File diff suppressed because it is too large
Vedi File


+ 0
- 1
unpackage/dist/dev/mp-weixin/app.json Vedi File

14
     "pages/mine/about/index",
14
     "pages/mine/about/index",
15
     "pages/common/webview/index",
15
     "pages/common/webview/index",
16
     "pages/common/textview/index",
16
     "pages/common/textview/index",
17
-    "pages/certification/index",
18
     "pages/handlecase/index",
17
     "pages/handlecase/index",
19
     "pages/handlecase/component/uploadEvidence",
18
     "pages/handlecase/component/uploadEvidence",
20
     "mp_ecard_sdk/index/index",
19
     "mp_ecard_sdk/index/index",