diff --git a/api/api.js b/api/api.js index 1a6fd0b..00af5ed 100644 --- a/api/api.js +++ b/api/api.js @@ -23,12 +23,19 @@ const config = { }, // 修改个人信息接口 updateInfo: { - url: '/info/updateInfo', + url: '/token/updateInfo', method: 'POST', auth: true, limit : 500, showLoading : true, }, + // 获取个人信息接口 + getInfo: { + url: '/token/getInfo', + method: 'GET', + auth: true, + limit : 500, + }, //隐私政策 getPrivacyPolicy: { url: '/login/getPrivacyPolicy', @@ -125,6 +132,21 @@ const config = { url: '/token/publishPost', method: 'POST', limit : 1000, + auth : true, + }, + //店铺认证 + companyAuthentication: { + url: '/token/companyAuthentication', + method: 'POST', + limit : 1000, + auth : true, + }, + //个人认证 + personalAuthentication: { + url: '/token/personalAuthentication', + method: 'POST', + limit : 1000, + auth : true, }, } diff --git a/components/config/PrivacyAgreementPoup.vue b/components/config/PrivacyAgreementPoup.vue index 4367b5c..7d29952 100644 --- a/components/config/PrivacyAgreementPoup.vue +++ b/components/config/PrivacyAgreementPoup.vue @@ -2,7 +2,7 @@ - diff --git a/components/list/dynamic/dynamicItem.vue b/components/list/dynamic/dynamicItem.vue index 1e95743..048651b 100644 --- a/components/list/dynamic/dynamicItem.vue +++ b/components/list/dynamic/dynamicItem.vue @@ -38,7 +38,7 @@ - + diff --git a/components/user/certificationPopup.vue b/components/user/certificationPopup.vue new file mode 100644 index 0000000..09cb58e --- /dev/null +++ b/components/user/certificationPopup.vue @@ -0,0 +1,251 @@ + + + + + diff --git a/components/user/createDetailPopup.vue b/components/user/createDetailPopup.vue index 6e46a75..59e9e1a 100644 --- a/components/user/createDetailPopup.vue +++ b/components/user/createDetailPopup.vue @@ -55,11 +55,11 @@ \ No newline at end of file diff --git a/pages_order/auth/wxLogin.vue b/pages_order/auth/wxLogin.vue index 0fe75d8..06288e2 100644 --- a/pages_order/auth/wxLogin.vue +++ b/pages_order/auth/wxLogin.vue @@ -1,7 +1,8 @@