19 changed files with 41460 additions and 35 deletions
@ -0,0 +1 @@ |
|||
sdad |
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
@ -0,0 +1,3 @@ |
|||
body { |
|||
color: #008000; |
|||
} |
@ -0,0 +1,2 @@ |
|||
body |
|||
color: green; |
@ -0,0 +1,24 @@ |
|||
module.exports = function (sequelize, DataTypes) { |
|||
const Constant = sequelize.define( |
|||
"Constant", |
|||
{ |
|||
// 键
|
|||
key: { |
|||
type: DataTypes.STRING |
|||
}, |
|||
// 值
|
|||
value: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true |
|||
}, |
|||
describe: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true |
|||
}, |
|||
}, |
|||
{ |
|||
timestamps: false, |
|||
} |
|||
); |
|||
return Constant |
|||
}; |
@ -0,0 +1,9 @@ |
|||
import { Req, Res, ReturnValue } from "#/global"; |
|||
import { gSuccess } from "@/util"; |
|||
|
|||
export default class Nav { |
|||
async index(req: Req, h: Res): ReturnValue{ |
|||
const Constant = req.getModel("Constant") |
|||
return gSuccess("31231") |
|||
} |
|||
} |
Loading…
Reference in new issue