注意命名规则
// 外网
// var serverUrl = ' http://xx.com';
var GlobalConfig = {
url: {
api: {
information: {
homeNews: serverUrl + '/api/
information/
home_news',
homeChangeNews: serverUrl + '/api/information
/home_change_news',
getUserCollectPictures: serverUrl + 'api/information/get_user_collect_pictures '
},
advertisement: {
getFixAdvertises: serverUrl + '/api/
advertise/get_fix_advertises'
},
user: {
addSuggest: serverUrl + '/api/
user/add_suggest'
},
}
}
};