vue-cli init
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import {BaseService} from '../core/base/base.service'
|
||||
|
||||
export class TbEmailIdentifyingCodeService extends BaseService {
|
||||
|
||||
sendMailIdentifyingCode(email) {
|
||||
return this.httpUtil.myPost({
|
||||
url: `tbemailidentifyingcode/sendMailIdentifyingCode`,
|
||||
data: {email: email}
|
||||
})
|
||||
}
|
||||
|
||||
sendMailIdentifyingCodeByUsername(username) {
|
||||
return this.httpUtil.myPost({
|
||||
url: `tbemailidentifyingcode/sendMailIdentifyingCodeByUsername`,
|
||||
data: {username: username}
|
||||
})
|
||||
}
|
||||
|
||||
mailIdentifyingCodeCheck(email, identifyingCode) {
|
||||
return this.httpUtil.myPost({
|
||||
url: `tbemailidentifyingcode/mailIdentifyingCodeCheck`,
|
||||
data: {
|
||||
email: email,
|
||||
identifyingCode: identifyingCode
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user