// var HOST_URI = 'http://192.168.0.109:8088'; // var HOST_URI = 'http://192.168.0.104:8088'; var HOST_URI = 'https://api.tuleduo.cn'; // var HOST_URI = 'http://ifast3.vipnps.vip:11707'; //配置网址 function _HOST_URL() { return HOST_URI; } //接口地址 var API_getImgUrl= '/open/pub/file/getWebUrl';//获取图片服务器地址 var API_login= '/open/pub/wxlogin/auth/byJsCode';//登录 var API_sign= '/open/pub/wxlogin/auth/login';//最后登录 var API_getphone= '/open/pub/wxlogin/auth/decodePhone';//获取手机号 var API_getUserInfo= '/open/pub/wxlogin/auth/getUserInfo';//获取信息 var API_getclubList= '/open/club/info/refList';//俱乐部列表 var API_creatClub= '/open/club/info/add';//新建俱乐部 var API_checkUserClubRole= '/open/club/info/checkUserClubRole'; // 新增俱乐部的判断 var API_uploadImg= '/open/pub/file/upload';//上传图片 var API_getclubCircle= '/open/pub/club/icon';//获取所属圈子 var API_getclubInfo= '/open/club/info/detail';//查询活动页俱乐部详情 var API_getclubDetail= '/open/club/info/home';//查询俱乐部详情 var API_getMyJoinClubList= '/open/club/info/joinList';//我的加入俱乐部列表 var API_getMyManageClubList= '/open/club/info/manageList';//我管理的俱乐部列表 var API_getmoreClubList= '/open/club/info/moreList';//更多俱乐部列表 var API_getwallet= '/open/user/wallet/detail';//用户钱包 var API_changeClub= '/open/club/info/edit';//修改俱乐部信息 var API_removeClub= '/open/club/info/remove';//解散俱乐部 var API_addClubAlbum= '/open/club/album/add';//新建俱乐部相册 var API_getClubAlbum= '/open/club/album/list';//获取相册列表 var API_addClub= '/open/club/member/add';//加入俱乐部 var API_membersearch= '/open/club/member/search';//搜索俱乐部成员 // var API_createActive= '/open/activity/team/add';//新增活动member/search var API_createActive= '/open/club/activity/add';//新增活动 var API_checkUserClubActivity= '/open/club/activity/checkUserClubActivity'; // 发布活动验证 var API_beginActive= '/open/club/activity/byBeginning';//即将开始的活动 var API_hotActive= '/open/club/activity/byHot';//热门活动 var API_getActiveDetail= '/open/club/activity/detail';//活动详情 var API_getRegisterAll= '/open/activity/register/getRegisterAll';//所有报名用户信息 var API_getClubHave= '/open/club/info/have';//查询可新增活动的俱乐部 var API_getLike= '/open/club/activity/byLike';//猜你喜欢的活动 var API_toJoinactive= '/open/activity/register/add';//活动报名 var API_getRankActive= '/open/club/activity/byRanking';//活动排行榜 var API_getRecommendActive= '/open/club/activity/byRecommend';//精品活动 var API_getCenteruserInfo= '/open/user/info/getUserInfo';//获取个人信息 var API_editCenteruserInfo= '/open/user/info/edit';//修改个人信息 var API_getAlbumOne= '/open/club/photo/list';//查询俱乐部某相册照片 var API_getOtherActive= '/open/club/activity/byOther';//查询俱乐部其他活动 var API_getActiveList= '/open/club/activity/manageList';//选择性活动列表 var API_getOrderList= '/open/order/info/list';//订单列表 var API_getactiveInfo= '/open/club/activity/byId';//查询俱乐部信息 var API_getOrderDetail= '/open/order/info/byOrderId';//根据id查询订单详情 var API_getOrderDetailSer= '/open/order/info/byOrderSerial';//根据编号查询订单详情 var API_getOrderPeople= '/open/order/detail/listBySerial';//查看订单报名人 // var API_getOrderDetail= '/open/order/detail/list';//查看订单详情 var API_getwxpay= '/open/wxpay/pay/jsapi';//用微信支付 var API_setAdvice= '/open/user/advise/add';//建议 var API_getClubActive= '/open/club/activity/byClubId';//俱乐部下的活动 var API_addCoupon= '/open/club/coupon/add';//添加优惠券 var API_payback= '/open/wxpay/pay/payBack';//支付成功回调 var API_getMyCoupon= '/open/user/coupon/list';//我的优惠券 var API_getClubCoupon= '/open/club/coupon/usable';//查询某俱乐部可领取的优惠券 // var API_getClubCoupon= '/open/club/coupon/list';//查询某俱乐部优惠券列表 var API_getCoupon= '/open/user/coupon/add';//领取优惠券 var API_getClubing= '/open/club/info/doing';//查询正在举办活动的俱乐部 var API_payokBack= '/open/wxpay/pay/payResult';//支付成功 // var API_activeMassage= '/open/massage/activity/list';//活动消息 var API_activeMassage= '/open/massage/activity/forUser';//活动消息 var API_orderMassage= '/open/massage/order/list';//订单消息 var API_sysMassage= '/open/massage/system/list';//系统消息 var API_clubMassage= '/open/massage/club/list';//俱乐部消息 var API_manageList= '/open/club/activity/byUserManage';//所有活动列表 var API_manageIndex= '/open/club/activity/manageHome';//管理活动首页 var API_clubMember= '/open/club/member/list';//查询俱乐部成员 var API_addviews= '/open/activity/read/add';//增加浏览记录 var API_lastviews= '/open/activity/read/getCountList';//30天内浏览记录 var API_getSigningList= '/open/club/activity/startSignList';//已签到列表 var API_getcanSignList= '/open/club/activity/canSignList';//可签到列表 var API_toSign= '/open/activity/sign/startSign';//发起签到 var API_getCanRemove= '/open/club/member/removeList';//查询可移除成员 var API_removesb= '/open/club/member/remove';//移除成员 var API_clubPhotoadd= '/open/club/photo/add';//俱乐部相册上传照片 var API_removephoto= '/open/club/photo/remove';//俱乐部相册删除照片 var API_photoenjoy= '/open/club/photo/edit';//照片点赞 var API_actjoining= '/open/club/activity/byRegisterStart';//报名中的活动 var API_actjoined= '/open/club/activity/byRegisterEnd';//已报名结束的活动 var API_getbanner= '/open/pub/home/banner';//获取首页banner var API_getregisterList= '/open/activity/register/list';//获取报名列表 var API_getcash= '/open/wxpay/pay/toCash';//提现 var API_cashList = '/open/club/cash/detail'; var API_walletpay= '/open/wxpay/pay/walletPay';//钱包支付 let API_nicknamedetail='/open/club/nickname/detail'; let API_memberexit='/open/club/member/exit'; let API_selectpower='/open/club/info/power'//查询是否是会长 let API_selectgrade='/open/club/info/grade'//查询权限等级 let API_nicknameadd='/open/club/nickname/add'//新增个性化称号 let API_nicknameedit='/open/club/nickname/edit'//修改个性化称号 let API_memberremoveLikeList='/open/club/member/removeLikeList' //模糊查询 let API_memberList='/open/club/member/setList'//成员列表       let API_Setmember='/open/club/member/edit'//成员列表       let API_getClubMessagePage= '/open/massage/club/pages' //俱乐部消息 let API_getSystemMessagePage= '/open/massage/system/pages' //系统消息 let API_removeActivity = '/open/club/activity/remove'//删除活动 let API_editActivity = '/open/club/activity/edit'//删除活动 function cashList(){ return HOST_URI + API_cashList; }  function SetMember(){   return HOST_URI + API_Setmember;  } function editActivity(){   return HOST_URI + API_editActivity;  } function removeActivity(){ return HOST_URI + API_removeActivity; }  function memberLsit(){   return HOST_URI + API_memberList;  } function nicknameedit(){ return HOST_URI + API_nicknameedit; } function memberremoveLikeList(){ return HOST_URI + API_memberremoveLikeList; } function nicknameadd(){ return HOST_URI + API_nicknameadd; } function selectgrade(){ return HOST_URI + API_selectgrade; } function membersearch(){ return HOST_URI + API_membersearch; } function checkUserClubRole(){ return HOST_URI + API_checkUserClubRole; } function memberexit(){ return HOST_URI + API_memberexit; } function selectpower(){ return HOST_URI + API_selectpower; } function nicknamedetail(){ return HOST_URI + API_nicknamedetail; } function getRegisterAll(){ return HOST_URI + API_getRegisterAll; } function getImgUrl() {//图片地址 return HOST_URI + API_getImgUrl; } function getAPILoader() {//登录 return HOST_URI + API_login; } function getAPISign() {//最后登录 return HOST_URI + API_sign; } function getphone() {//获取手机 return HOST_URI + API_getphone; } function getSystemMessagePage() {//获取手机 return HOST_URI + API_getSystemMessagePage; } function getUserInfo() {//获取信息 return HOST_URI + API_getUserInfo; } function getclubList() {//获取俱乐部列表 return HOST_URI + API_getclubList; } function creatClub() {//新建俱乐部 return HOST_URI + API_creatClub; } function uploadImg() {//上传图片 return HOST_URI + API_uploadImg; } function getclubCircle() {//获取圈子 return HOST_URI + API_getclubCircle; } function getclubDetail() { return HOST_URI + API_getclubDetail; } function getMyJoinClubList() { return HOST_URI + API_getMyJoinClubList; } function getMyManageClubList() { return HOST_URI + API_getMyManageClubList; } function getwallet() { return HOST_URI + API_getwallet; } function getmoreClubList() { return HOST_URI + API_getmoreClubList; } function changeClub() { return HOST_URI + API_changeClub; } function removeClub() { return HOST_URI + API_removeClub; } function addClubAlbum() { return HOST_URI + API_addClubAlbum; } function getClubAlbum() { return HOST_URI + API_getClubAlbum; } function addClub() { return HOST_URI + API_addClub; } function createActive() { return HOST_URI + API_createActive; } function beginActive() { return HOST_URI + API_beginActive; } function hotActive() { return HOST_URI + API_hotActive; } function getActiveDetail() { return HOST_URI + API_getActiveDetail; } function getClubHave() { return HOST_URI + API_getClubHave; } function checkUserClubActivity() { return HOST_URI + API_checkUserClubActivity; } function getClubMessagePage(){ return HOST_URI + API_getClubMessagePage; } function getLike() { return HOST_URI + API_getLike; } function toJoinactive() { return HOST_URI + API_toJoinactive; } function getRankActive() { return HOST_URI + API_getRankActive; } function getRecommendActive() { return HOST_URI + API_getRecommendActive; } function getCenteruserInfo() { return HOST_URI + API_getCenteruserInfo; } function editCenteruserInfo() { return HOST_URI + API_editCenteruserInfo; } function getAlbumOne() { return HOST_URI + API_getAlbumOne; } function getOtherActive() { return HOST_URI + API_getOtherActive; } function getclubInfo() { return HOST_URI + API_getclubInfo; } function getActiveList() { return HOST_URI + API_getActiveList; } function getOrderList() { return HOST_URI + API_getOrderList; } function getactiveInfo() { return HOST_URI + API_getactiveInfo; } function getOrderDetail() { return HOST_URI + API_getOrderDetail; } function getwxpay() { return HOST_URI + API_getwxpay; } function getOrderPeople() { return HOST_URI + API_getOrderPeople; } function setAdvice() { return HOST_URI + API_setAdvice; } function getClubActive() { return HOST_URI + API_getClubActive; } function addCoupon() { return HOST_URI + API_addCoupon; } function getOrderDetailSer() { return HOST_URI + API_getOrderDetailSer; } function payback() { return HOST_URI + API_payback; } function getMyCoupon() { return HOST_URI + API_getMyCoupon; } function getClubCoupon() { return HOST_URI + API_getClubCoupon; } function getCoupon() { return HOST_URI + API_getCoupon; } function getClubing() { return HOST_URI + API_getClubing; } function payokBack() { return HOST_URI + API_payokBack; } function activeMassage() { return HOST_URI + API_activeMassage; } function orderMassage() { return HOST_URI + API_orderMassage; } function sysMassage() { return HOST_URI + API_sysMassage; } function clubMassage() { return HOST_URI + API_clubMassage; } function manageList() { return HOST_URI + API_manageList; } function manageIndex() { return HOST_URI + API_manageIndex; } function clubMember() { return HOST_URI + API_clubMember; } function addviews() { return HOST_URI + API_addviews; } function lastviews() { return HOST_URI + API_lastviews; } function getSigningList() { return HOST_URI + API_getSigningList; } function getcanSignList() { return HOST_URI + API_getcanSignList; } function toSign() { return HOST_URI + API_toSign; } function getCanRemove() { return HOST_URI + API_getCanRemove; } function clubPhotoadd() { return HOST_URI + API_clubPhotoadd; } function removephoto() { return HOST_URI + API_removephoto; } function photoenjoy() { return HOST_URI + API_photoenjoy; } function actjoining() { return HOST_URI + API_actjoining; } function actjoined() { return HOST_URI + API_actjoined; } function removesb() { return HOST_URI + API_removesb; } function getbanner() { return HOST_URI + API_getbanner; } function getregisterList() { return HOST_URI + API_getregisterList; } function getcash() { return HOST_URI + API_getcash; } function walletpay() { return HOST_URI + API_walletpay; } //获取接口信息 module.exports = { SetMember, memberLsit, memberremoveLikeList, nicknameedit, nicknameadd, membersearch, getImgUrl, getAPILoader, getAPISign, getphone, getUserInfo, getclubList, creatClub, uploadImg, getclubCircle, getclubDetail, getMyJoinClubList, getMyManageClubList, getwallet, getmoreClubList, changeClub, removeClub, addClubAlbum, getClubAlbum, addClub, createActive, beginActive, hotActive, getActiveDetail, getClubHave, getLike, toJoinactive, getRankActive, getRecommendActive, getCenteruserInfo, editCenteruserInfo, getAlbumOne, getOtherActive, getclubInfo, getActiveList, getOrderList, getactiveInfo, getOrderDetail, getwxpay, getOrderPeople, setAdvice, getClubActive, addCoupon, getOrderDetailSer, payback, getMyCoupon, getClubCoupon, getCoupon, getClubing, payokBack, activeMassage, orderMassage, sysMassage, clubMassage, manageList, manageIndex, clubMember, addviews, lastviews, getSigningList, getcanSignList, toSign, getCanRemove, clubPhotoadd, removephoto, photoenjoy, actjoining, actjoined, removesb, getbanner, getregisterList, getcash, walletpay, nicknamedetail, memberexit, selectpower, selectgrade, getRegisterAll, checkUserClubRole, checkUserClubActivity, getClubMessagePage, getSystemMessagePage, removeActivity, editActivity, cashList };