Skip to content

Commit

Permalink
add dir
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyCodes committed Sep 29, 2016
1 parent 9a890ee commit 853b939
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions api/information_api.js
@@ -0,0 +1,16 @@
function get_classes(){
wx.request({
url: '',
header: {
'Content-Type': 'application/json'
},
success: function(res) {
console.log(res.data)
}
});
}


module.exports = {
get_classes: get_classes,
}
1 change: 1 addition & 0 deletions pages/information/index/index.js
Expand Up @@ -3,6 +3,7 @@
var root_path = "../../../";
var index_obj = require(root_path+'function/information_index.js')
var figure_obj = require(root_path+'function/information_figure.js')
var api = require(root_path+'api/information_api.js');
var menu_static = 0;

Page({
Expand Down
Empty file added public/index.wxml
Empty file.
Empty file added uploads/index.wxml
Empty file.

0 comments on commit 853b939

Please sign in to comment.