Skip to content

Commit

Permalink
v3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vastxie committed Jul 7, 2024
1 parent 5df02f5 commit 2a9ca58
Show file tree
Hide file tree
Showing 726 changed files with 246 additions and 282 deletions.
4 changes: 4 additions & 0 deletions dist/app.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ AppModule = __decorate([
imports: [
database_module_1.DatabaseModule,
serve_static_1.ServeStaticModule.forRoot({
rootPath: (0, path_1.join)(__dirname, '..', 'public/admin'),
serveRoot: '/admin',
}, {
rootPath: (0, path_1.join)(__dirname, '..', 'public'),
serveRoot: '/',
}),
user_module_1.UserModule,
plugin_module_1.PluginModule,
Expand Down
2 changes: 0 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const crypto_1 = require("crypto");
const Dotenv = require("dotenv");
const xmlBodyParser = require("express-xml-bodyparser");
const ioredis_1 = require("ioredis");
const path_1 = require("path");
const app_module_1 = require("./app.module");
Dotenv.config({ path: '.env' });
async function bootstrap() {
Expand All @@ -32,7 +31,6 @@ async function bootstrap() {
await (0, initDatabase_1.initDatabase)();
app.useLogger(app.get(custom_logger_service_1.CustomLoggerService));
app.use(compression());
const www = (0, path_1.resolve)(__dirname, './public');
app.use(xmlBodyParser());
app.enableCors();
app.setGlobalPrefix('/api');
Expand Down
7 changes: 4 additions & 3 deletions dist/modules/auth/auth.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,14 @@ let AuthService = class AuthService {
const nameSpace = await this.globalConfigService.getNamespace();
const { color = '#fff' } = parmas;
const captcha = svgCaptcha.create({
size: 5,
size: 4,
ignoreChars: '0o1i',
noise: 4,
color: true,
background: color,
height: 33,
width: 150,
height: 35,
width: 120,
charPreset: 'abcdefghijklmnopqrstuvwxyz',
});
const text = captcha.text;
const randomId = Math.random().toString(36).substr(2, 9);
Expand Down
6 changes: 3 additions & 3 deletions dist/modules/globalConfig/globalConfig.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/

import{_ as f}from"./index-B-LUCRde.js";export{f as default};
import{_ as f}from"./index-DEc4xym2.js";export{f as default};
Binary file removed public/admin/assets/HButton-aVY9RE9r.js.br
Binary file not shown.
Binary file removed public/admin/assets/HCheckList-BDt5IzdQ.js.br
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/

import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js";import"./index-B-LUCRde.js";export{m as default};
import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-CJCRoI9L.js";import"./index-DEc4xym2.js";export{m as default};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file removed public/admin/assets/HDialog-CkHEJpCp.js.br
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/

import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js";import"./index-B-LUCRde.js";export{m as default};
import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js";import"./index-DEc4xym2.js";export{m as default};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions public/admin/assets/HDropdown-DTfQxtss.js.br

This file was deleted.

Binary file removed public/admin/assets/HDropdown-DTfQxtss.js.gz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/

import{l as t,n,g as a,z as p,w as o,P as r,X as d}from"./index-B-LUCRde.js";const l={};function c(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(l,[["render",c]]);export{f as default};
import{l as t,n,g as a,z as p,w as o,P as r,X as d}from"./index-DEc4xym2.js";const l={};function c(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(l,[["render",c]]);export{f as default};
Binary file removed public/admin/assets/HDropdownMenu-Da4N3uIo.js.br
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/

import{_ as m}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js";import"./index-B-LUCRde.js";export{m as default};
import{_ as m}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js";import"./index-DEc4xym2.js";export{m as default};

This file was deleted.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed public/admin/assets/HInput-Bn11_Lg9.js.br
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/

import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js";import"./index-B-LUCRde.js";export{m as default};
import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-CdqOxX3g.js";import"./index-DEc4xym2.js";export{m as default};
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/

import{d as r,av as n,aw as i,r as u,g as p,c,y as m,am as f,e as g}from"./index-B-LUCRde.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],w=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:s}){const e=i(o,"modelValue"),d=u();return s({ref:d}),(l,a)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{w as _};
import{d as r,av as n,aw as i,r as u,g as p,c,y as m,am as f,e as g}from"./index-DEc4xym2.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],w=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:s}){const e=i(o,"modelValue"),d=u();return s({ref:d}),(l,a)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{w as _};
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/

import{l as t,g as n,c as r,P as s}from"./index-B-LUCRde.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function c(e,i){return n(),r("kbd",a,[s(e.$slots,"default")])}const l=t(o,[["render",c]]);export{l as default};
import{l as t,g as n,c as r,P as s}from"./index-DEc4xym2.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function c(e,i){return n(),r("kbd",a,[s(e.$slots,"default")])}const l=t(o,[["render",c]]);export{l as default};
Binary file removed public/admin/assets/HKbd-vG5TE40y.js.br
Binary file not shown.
Binary file removed public/admin/assets/HKbd-vG5TE40y.js.gz
Binary file not shown.
Binary file removed public/admin/assets/HSelect-B1PkAF1H.js.br
Binary file not shown.
Binary file removed public/admin/assets/HSelect-B1PkAF1H.js.gz
Binary file not shown.
Loading

0 comments on commit 2a9ca58

Please sign in to comment.