Files
pda-cli/src/dev/services/tb_email_identifying_code.service.js
T
2025-08-15 16:25:44 +08:00

29 lines
829 B
JavaScript

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
}
})
}
}