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 012293b..8df27b8 100644 --- a/pages.json +++ b/pages.json @@ -87,7 +87,7 @@ "path": "pages/coupons/magDetails", "name": "couponsDetails", "style": { - "navigationBarTitleText": "优惠券管理" + "navigationBarTitleText": "优惠券详情" } }, { "path": "pages/coupons/selectGoods", @@ -101,6 +101,13 @@ "style": { "navigationBarTitleText": "登录" } + }, { + "path": "pages/certification/personal", + "name": "Personal", + "auth": true, + "style": { + "navigationBarTitleText": "个人认证" + } }, { "path": "pages/setting/setting", "name": "setting", @@ -115,6 +122,13 @@ "style": { "navigationBarTitleText": "关于我们" } + }, { + "path": "pages/company/approve", + "name": "companyApprove", + "auth": true, + "style": { + "navigationBarTitleText": "企业认证" + } }], "globalStyle": { "navigationStyle": "custom", diff --git a/pages/certification/personal.vue b/pages/certification/personal.vue index 388b9a8..33ffa42 100644 --- a/pages/certification/personal.vue +++ b/pages/certification/personal.vue @@ -1,9 +1,5 @@