fenggu/config.js

26 lines
1.1 KiB
JavaScript

var host = "https://vote.daiguanyun.com";
// var host = "http://192.168.2.15:8810";
// var host = "https://fenggu.scdxtc.cn";
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',//查询脸庞
myBottleReleaseList: host + '/index/myBottleReleaseList',//查询自己的作品
publishMyBottle: host + '/index/publishMyBottle',//分享作品
}
module.exports = config;