Commit b382ac59 by 王昆

gsb

parent 21a88413
...@@ -7,6 +7,7 @@ module.exports = function (app) { ...@@ -7,6 +7,7 @@ module.exports = function (app) {
app.get('/doc', function (req, res) { app.get('/doc', function (req, res) {
var path = process.cwd() + "/app/front/entry/public/apidoc/README.md"; var path = process.cwd() + "/app/front/entry/public/apidoc/README.md";
console.log(process.cwd(), '----------------');
fs.readFile(path, function(err, data){ fs.readFile(path, function(err, data){
if(err){ if(err){
console.log(err); console.log(err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment