mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
基础命令重构
1. 移除命令中 bash 依赖 2. jd命令重命名为js 3. 修改默认初始目录 4. 移除冗余代码
This commit is contained in:
@@ -11,7 +11,7 @@ const sampleFile = path.join(rootPath, 'sample/config.sh.sample');
|
||||
const crontabFile = path.join(rootPath, 'config/crontab.list');
|
||||
const confBakDir = path.join(rootPath, 'config/bak/');
|
||||
const authConfigFile = path.join(rootPath, 'config/auth.json');
|
||||
const shareCodeDir = path.join(rootPath, 'log/jd_get_share_code/');
|
||||
const shareCodeDir = path.join(rootPath, 'log/share_code/');
|
||||
const diyFile = path.join(rootPath, 'config/diy.sh');
|
||||
const logPath = path.join(rootPath, 'log/');
|
||||
const authError = '错误的用户名密码,请重试';
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
export interface ICommon {
|
||||
_id: string;
|
||||
value: String;
|
||||
name: String;
|
||||
type: Number;
|
||||
}
|
||||
|
||||
export interface ICommonInputDTO {
|
||||
value: String;
|
||||
name: String;
|
||||
type: Number;
|
||||
}
|
||||
|
||||
export enum ShareCodeType {
|
||||
ddFactory = 1,
|
||||
ddXw,
|
||||
jxCfd,
|
||||
jxFactory,
|
||||
jxFactoryTuan,
|
||||
jxNc,
|
||||
jxStory,
|
||||
jxCfdGroup,
|
||||
jdZz,
|
||||
jdZjdTuan,
|
||||
didi,
|
||||
jd818,
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
export interface IContent {
|
||||
author: String;
|
||||
paragraphs: [String];
|
||||
title: String;
|
||||
id: String;
|
||||
created_at: Number;
|
||||
}
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
import { Document, Model } from 'mongoose';
|
||||
import { IContent } from '../../interfaces/IContent';
|
||||
import { ICommon } from '../../interfaces/ICommon';
|
||||
declare global {
|
||||
namespace Models {
|
||||
export type IContentModel = Model<IContent & Document>;
|
||||
export type ICommonModel = Model<ICommon & Document>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user