fenggu/config.js

23 lines
947 B
JavaScript
Raw Normal View History

var host = "https://vote.daiguanyun.com";
var host = "http://192.168.2.15:8810";
var config = {
host:host,
getopenid: host + "/index/getOpenId",
getVoteList: host + '/index/rankList',
getSlideList: host + '/index/getSlideList',
getDetail: host + '/index/getOneById',
getImgs: host + '/index/getImgs',
getBaseInfo: host + '/index/getBaseInfo',
upload: host + '/index/upload',
saveProduction: host + '/index/saveProduction',
getUser: host + '/index/getUser',
vote : host + '/index/vote',
getUserById:host + '/index/getUserById',
getUserProduction: host + '/index/getUserProduction',
saveVisit: host + '/index/saveVisit',
search: host + '/index/search',
getBottleCategories: host + '/index/getBottleCategories',//酒瓶标题
composeBottle: host + '/index/composeBottle',//保存图片
getBottleWidgets: host + '/index/getBottleWidgets',//查询作品
}
module.exports = config;