charity是基于Node.js & MongoDB & Vue领先的轻量级CMS(内容管理系统)
$ npm install
$ npm test
publish your framework to npm, then change app's dependencies:
// {app_root}/index.js
require('charity').startCluster({
baseDir: __dirname,
// port: 7001, // default to 7001
});
位数 | 说明 | 备注 |
---|---|---|
前3位 | 业务模块id(具体id见config/modules配置文件) | 从左开始数,系统级别id为0,故看到小于4位的错误码,都是系统别级的错误 |
错误码 | 说明 | 备注 |
---|---|---|
1 | 没有访问权限 | |
2 | 访问模块不存在 |
request method | 权限码 | 备注 |
---|---|---|
get | 1 | 查看 |
post | 2 | 添加 |
update | 3 | 更新 |
delete | 4 | 删除 |
提交问题 点击这里
QQ: 516908542 email: lixiaobin8878@gmail.com