mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
增加订阅api
This commit is contained in:
@@ -8,6 +8,7 @@ import { AppModel } from '../data/open';
|
||||
import { AuthModel } from '../data/auth';
|
||||
import { sequelize } from '../data';
|
||||
import { fileExist } from '../config/util';
|
||||
import { SubscriptionModel } from '../data/subscription';
|
||||
import config from '../config';
|
||||
|
||||
export default async () => {
|
||||
@@ -17,6 +18,8 @@ export default async () => {
|
||||
await AppModel.sync();
|
||||
await AuthModel.sync();
|
||||
await EnvModel.sync();
|
||||
await SubscriptionModel.sync();
|
||||
|
||||
await sequelize.sync();
|
||||
|
||||
// try {
|
||||
|
||||
Reference in New Issue
Block a user