Commit 00c7745d authored by hanfeng zhang's avatar hanfeng zhang

1

parent d9fd6c92
......@@ -3,7 +3,7 @@ import BaseService from '../base'
export default class Staff extends BaseService {
router: any= {
router = {
accept:{ path:'/v1/enterprise/accept-join'},
create:{ path:'/v1/enterprise/create'},
delete:{ path:'/v1/enterprise/delete'},
......@@ -16,16 +16,7 @@ export default class Staff extends BaseService {
}
/**
* 获取验证码
* @param phone
* @param codeType 短信模板, 1:登录短信 2:修改密码 3:修改手机号
*/
getVerificationCode(){
console.log(this.router);
}
}
......
......@@ -70,7 +70,7 @@ export default Vue.extend({
}
},
mounted(){
this.$service.staff.getVerificationCode()
},
methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment