mirror of
https://github.com/vastxie/99AI.git
synced 2025-11-14 12:43:43 +08:00
v3.5.0
This commit is contained in:
@@ -388,14 +388,14 @@ let GlobalConfigService = class GlobalConfigService {
|
||||
return { siteName, qqNumber, vxNumber, registerBaseUrl, domain };
|
||||
}
|
||||
async getPhoneVerifyConfig() {
|
||||
const { phoneRegisterStatus, aliPhoneAccessKeyId, aliPhoneAccessKeySecret, aliPhoneSignName, aliPhoneTemplateCode, } = await this.getConfigs([
|
||||
'phoneRegisterStatus',
|
||||
const { phoneLoginStatus, aliPhoneAccessKeyId, aliPhoneAccessKeySecret, aliPhoneSignName, aliPhoneTemplateCode, } = await this.getConfigs([
|
||||
'phoneLoginStatus',
|
||||
'aliPhoneAccessKeyId',
|
||||
'aliPhoneAccessKeySecret',
|
||||
'aliPhoneSignName',
|
||||
'aliPhoneTemplateCode',
|
||||
]);
|
||||
if (Number(phoneRegisterStatus) !== 1) {
|
||||
if (Number(phoneLoginStatus) !== 1) {
|
||||
throw new common_1.HttpException('手机验证码功能暂未开放!', common_1.HttpStatus.BAD_REQUEST);
|
||||
}
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user