Skip to content

Commit 4fb8426

Browse files
committed
add kits
1 parent a8fafc0 commit 4fb8426

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

core/api/post.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
constant = require("../constant"),
77
data = require("../data"),
88
utils = require("../utils"),
9-
_ = require("lodash");
9+
_ = require("lodash"),
10+
kits = require("../kits");
1011

1112
//POST /api/post
1213
exports.add = function (req, res) {

core/constant.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/kits.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = exports = {
2+
status : require("./status"),
3+
utils : require("./utils"),
4+
constant: require("./constant")
5+
};

core/status.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)