1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- const ApiRootUrl = 'http://127.0.0.1:8080/';
- const WebSocktUrl = 'ws://127.0.0.1:8805/'
- module.exports = {
-
- IndexUrl: ApiRootUrl + 'index/index',
- IndexMore: ApiRootUrl + 'index/more',
-
- CatalogList: ApiRootUrl + 'catalog/index',
- CatalogCurrent: ApiRootUrl + 'catalog',
-
-
- GoodsCategory: ApiRootUrl + 'goods/category/index',
- GoodsList: ApiRootUrl + 'goods/category',
-
- GoodsDetail: ApiRootUrl + 'goods/detail',
- GoodsRelated: ApiRootUrl + 'goods/related',
- CommentPost: ApiRootUrl + 'goods/comment/post',
-
- SearchIndex: ApiRootUrl + 'search/index',
- SearchResult: ApiRootUrl + 'search/result',
- SearchClearHistory: ApiRootUrl + 'search/clearhistory',
-
- GoodsPost: ApiRootUrl + 'post/post',
- GoodsDelete: ApiRootUrl + 'post/delete',
- RegionList: ApiRootUrl + 'post/region',
- PostCateList: ApiRootUrl + 'post/category',
-
- CollectList: ApiRootUrl + 'goodsUser/collect',
- CollectAddOrDelete: ApiRootUrl + 'goodsUser/collect/addordelete',
- PostedList: ApiRootUrl + 'goodsUser/posted',
- BoughtList: ApiRootUrl + 'goodsUser/bought',
- SoldList: ApiRootUrl + 'goodsUser/sold',
- UserPage: ApiRootUrl + 'goodsUser/user',
- UserPageMore: ApiRootUrl + 'goodsUser/user/more',
- GoodsWant: ApiRootUrl + 'goodsUser/want',
-
- AuthLoginByWeixin: ApiRootUrl + 'auth/loginByWeixin',
-
- ChatIndex: ApiRootUrl + 'chat/index',
- ChatForm: ApiRootUrl + 'chat/form',
- ChatFlushUnread: ApiRootUrl + 'chat/flushUnread',
- ChatWs: WebSocktUrl + 'ws',
- };
|