diff --git a/common/api/user.js b/common/api/user.js index af8361c..3f59f0b 100644 --- a/common/api/user.js +++ b/common/api/user.js @@ -47,3 +47,16 @@ export const login = (payload) => { }); }; +/** + * 退出登录 + * @returns {Promise} 退出结果 + */ +export const logout = () => { + return uni.$uv.http.post('/logout', {}, { + custom: { + auth: true, + catch: true + } + }); +}; + diff --git a/components/MyProfile.vue b/components/MyProfile.vue new file mode 100644 index 0000000..d8f4620 --- /dev/null +++ b/components/MyProfile.vue @@ -0,0 +1,61 @@ + + + + + + + diff --git a/pages/customer/follow/add/index.vue b/pages/customer/follow/add/index.vue index 759b2b5..fb01564 100644 --- a/pages/customer/follow/add/index.vue +++ b/pages/customer/follow/add/index.vue @@ -41,7 +41,7 @@ - *客户 + 客户 - *客户状态 + 客户状态 - *意向强度 + 意向强度 - *跟进方式 + 跟进方式 - *跟进内容 + 跟进内容