diff --git a/apis/index.js b/apis/index.js
index 76f9f15..ec79c85 100644
--- a/apis/index.js
+++ b/apis/index.js
@@ -9,7 +9,7 @@ import store from '@/store'
// 基础配置
const config = {
- apiUrl : 'https://e-chain.cnskl.com/api/',
+ apiUrl : 'http://api.ahxh.shangkelian.cn/api/',
timeout : 60000
}
diff --git a/apis/interfaces/certification.js b/apis/interfaces/certification.js
new file mode 100644
index 0000000..64ff5e5
--- /dev/null
+++ b/apis/interfaces/certification.js
@@ -0,0 +1,21 @@
+/**
+ * Web唐明明
+ * 匆匆数载恍如梦,岁月迢迢华发增。
+ * 碌碌无为枉半生,一朝惊醒万事空。
+ * moduleName: 认证
+ */
+
+import { request } from '../index'
+
+// 个人认证
+const personal = (data) => {
+ return request({
+ url: 'user/certification',
+ method: 'POST',
+ data: data
+ })
+}
+
+export {
+ personal
+}
diff --git a/pages.json b/pages.json
index c7e0c8e..8340288 100644
--- a/pages.json
+++ b/pages.json
@@ -54,7 +54,7 @@
"path": "pages/coupons/management",
"name": "couponsManagement",
"style": {
- "navigationBarTitleText":"创建优惠券"
+ "navigationBarTitleText":"优惠券管理"
}
}, {
"path": "pages/coupons/add",
@@ -66,7 +66,7 @@
"path": "pages/coupons/magDetails",
"name": "couponsDetails",
"style": {
- "navigationBarTitleText":"优惠券管理"
+ "navigationBarTitleText":"优惠券详情"
}
}, {
"path": "pages/coupons/selectGoods",
@@ -80,6 +80,13 @@
"style": {
"navigationBarTitleText":"登录"
}
+ }, {
+ "path" : "pages/certification/personal",
+ "name" : "Personal",
+ "auth" : true,
+ "style": {
+ "navigationBarTitleText":"个人认证"
+ }
}],
"globalStyle": {
"navigationStyle": "custom",
diff --git a/pages/certification/personal.vue b/pages/certification/personal.vue
index 388b9a8..227847d 100644
--- a/pages/certification/personal.vue
+++ b/pages/certification/personal.vue
@@ -1,9 +1,5 @@
-
-
- 请正确填写你的个人身份信息
-
@@ -24,7 +20,7 @@
上传身份证正面
-
+
@@ -32,7 +28,7 @@
上传身份证背面
-
+
@@ -44,19 +40,22 @@