123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928 |
-
- const baseUrl = '/api'
- const common = '/common/:org'
- const guest = '/guest/:org'
-
- const $api = {
- login: {
- signin: {
- method: 'post',
- url: `${baseUrl}${guest}/signin`
- }
- },
- system: {
- init: {
- method: 'get',
- url: `${baseUrl}${common}/system/init`
- },
- signout: {
- method: 'post',
- url: `${baseUrl}${common}/signout`
- },
- editPassword: {
- method: 'put',
- url: `${baseUrl}${common}/user/:id/password`
- },
- notify: {
- newGoodsOrders: {
- method: 'put',
- url: `${baseUrl}${common}/websocket/:grps/:id`
- },
- },
- },
- systemSet: {
- getUserList: {
- method: 'get',
- url: `${baseUrl}${common}/user`
- },
- getUserInfo: {
- method: 'get',
- url: `${baseUrl}${common}/user/:id`
- },
- addUser: {
- method: 'post',
- url: `${baseUrl}${common}/user`
- },
- editUser: {
- method: 'put',
- url: `${baseUrl}${common}/user`
- },
- deleteUser: {
- method: 'delete',
- url: `${baseUrl}${common}/user/:id`
- },
- resetPassword: {
- method: 'put',
- url: `${baseUrl}${common}/user/password/reset`
- },
- bindRoles: {
- method: 'put',
- url: `${baseUrl}${common}/userrole`
- },
- getUserRoles: {
- method: 'get',
- url: `${baseUrl}${common}/userrole`
- },
- getUserByTel: {
- method: 'get',
- url: `${baseUrl}${common}/user/tel/:tel`
- },
- },
- channelManager: {
- getChannelList: {
- method: 'get',
- url: `${baseUrl}${common}/channel`
- },
- getChannelInfo: {
- method: 'get',
- url: `${baseUrl}${common}/channel/:channelId`
- },
- addChannel: {
- method: 'post',
- url: `${baseUrl}${common}/channel`
- },
- editChannel: {
- method: 'put',
- url: `${baseUrl}${common}/channel`
- },
- deleteChannel: {
- method: 'delete',
- url: `${baseUrl}${common}/channel/:channelId`
- },
- },
- caseManager: {
- getKeyListById: {
- method: 'get',
- url: `${baseUrl}${common}/case/key`
- },
- bindKeyByPhone: {
- method: 'post',
- url: `${baseUrl}${common}/case/key/:phone/:keyid`
- },
- bindKey: {
- method: 'post',
- url: `${baseUrl}${common}/case/key/:keyid/:customerid/:customername`
- },
- bindKeyByQrCode: {
- method: 'post',
- url: `${baseUrl}${common}/verify/case/key/:keyid/:customerid`
- },
- getRolesList: {
- method: 'get',
- url: `${baseUrl}${common}/role`
- },
- getCaseList: {
- method: 'get',
- url: `${baseUrl}${common}/case/info`
- },
- addCase: {
- method: 'post',
- url: `${baseUrl}${common}/case/info`
- },
- getCaseInfo: {
- method: 'get',
- url: `${baseUrl}${common}/case/info/:id`
- },
- editCase: {
- method: 'put',
- url: `${baseUrl}${common}/case/info/:id`
- },
- getCaseUserType: {
- method: 'get',
- url: `${baseUrl}${common}/case/usertype`
- },
- getCaseUserList: {
- method: 'get',
- url: `${baseUrl}${common}/case/user`
- },
- getCaseUserInfo: {
- method: 'get',
- url: `${baseUrl}${common}/case/user/:id`
- },
- addCaseUser: {
- method: 'post',
- url: `${baseUrl}${common}/case/user`
- },
- editCaseUser: {
- method: 'put',
- url: `${baseUrl}${common}/case/user`
- },
- getKeyList: {
- method: 'get',
- url: `${baseUrl}${common}/case/key`
- },
- addKey: {
- method: 'post',
- url: `${baseUrl}${common}/case/key`
- },
- cancelKey: {
- method: 'put',
- url: `${baseUrl}${common}/case/unlock/:id`
- },
- deleteKey: {
- method: 'delete',
- url: `${baseUrl}${common}/case/key/:id`
- },
- getCaseAreaList: {
- method: 'get',
- url: `${baseUrl}${common}/case/area`
- },
- addCaseArea: {
- method: 'post',
- url: `${baseUrl}${common}/case/area`
- },
- deleteCaseArea: {
- method: 'delete',
- url: `${baseUrl}${common}/case/area/:id`
- },
- getCaseAreaInfo: {
- method: 'get',
- url: `${baseUrl}${common}/case/area/:id`
- },
- editCaseArea: {
- method: 'put',
- url: `${baseUrl}${common}/case/area`
- },
- getCaseTableList: {
- method: 'get',
- url: `${baseUrl}${common}/case/table`
- },
- addCaseTable: {
- method: 'post',
- url: `${baseUrl}${common}/case/table`
- },
- getCaseTableInfo: {
- method: 'get',
- url: `${baseUrl}${common}/case/table/:id`
- },
- editCaseTable: {
- method: 'put',
- url: `${baseUrl}${common}/case/table`
- },
- deleteCaseTable: {
- method: 'delete',
- url: `${baseUrl}${common}/case/table/:id`
- },
- getCaseTagList: {
- method: 'get',
- url: `${baseUrl}${common}/case/tag`
- },
- addCaseTag: {
- method: 'post',
- url: `${baseUrl}${common}/case/tag`
- },
- getTagInfo: {
- method: 'get',
- url: `${baseUrl}${common}/case/tag/:id`
- },
- deleteCaseTag: {
- method: 'delete',
- url: `${baseUrl}${common}/case/tag/:id`
- },
- getUserTypeList: {
- method: 'get',
- url: `${baseUrl}${common}/usertype`
- },
- getRecordList: {
- method: 'get',
- url: `${baseUrl}${common}/case/record`
- },
- addRecord: {
- method: 'post',
- url: `${baseUrl}${common}/case/record`
- },
- getSignin: {
- method: 'get',
- url: `${baseUrl}${common}/case/signin`
- },
- getExcelSignin: {
- method: 'get',
- url: `${baseUrl}${common}/case/excelSignin`
- }
- },
- goodsManager: {
- getGoodsSpecList: {
- method: 'get',
- url: `${baseUrl}${common}/spec/goods`
- },
- addGoodsSpec: {
- method: 'post',
- url: `${baseUrl}${common}/spec/goods`
- },
- getGoodsSpecById: {
- method: 'get',
- url: `${baseUrl}${common}/spec/goods/:id`
- },
- editGoodsSpec: {
- method: 'put',
- url: `${baseUrl}${common}/spec/goods/:id`
- },
- deleteGoodsSpec: {
- method: 'delete',
- url: `${baseUrl}${common}/spec/goods/:id`
- },
- getGoodsTypeList: {
- method: 'get',
- url: `${baseUrl}${common}/type/goods`
- },
- addGoodsType: {
- method: 'post',
- url: `${baseUrl}${common}/type/goods`
- },
- getGoodsTypeById: {
- method: 'get',
- url: `${baseUrl}${common}/type/goods/:id`
- },
- editGoodsType: {
- method: 'put',
- url: `${baseUrl}${common}/type/goods/:id`
- },
- deleteGoodsType: {
- method: 'delete',
- url: `${baseUrl}${common}/type/goods/:id`
- },
- getGoodsList: {
- method: 'get',
- url: `${baseUrl}${common}/goods`
- },
- getGoodsByID: {
- method: 'get',
- url: `${baseUrl}${common}/goods/:id`
- },
- addGoods: {
- method: 'post',
- url: `${baseUrl}${common}/goods`
- },
- updateGoods: {
- method: 'put',
- url: `${baseUrl}${common}/goods/:id`
- },
- deleteGoods: {
- method: 'delete',
- url: `${baseUrl}${common}/goods/:id`
- },
- },
- cms: {
- location: {
- method: 'get',
- url: `${baseUrl}${common}/cms/location`
- },
- locationDetail: {
- method: 'get',
- url: `${baseUrl}${common}/cms/location/:id`
- },
- addLocation: {
- method: 'post',
- url: `${baseUrl}${common}/cms/location`
- },
- editLocation: {
- method: 'put',
- url: `${baseUrl}${common}/cms/location/:id`
- },
- deleteLocation: {
- method: 'delete',
- url: `${baseUrl}${common}/cms/location/:id`
- },
- orderChange: {
- method: 'put',
- url: `${baseUrl}${common}/cms/location/:id/sort`
- },
- imageList: {
- method: 'get',
- url: `${baseUrl}${common}/cms/image`
- },
- imageDetail: {
- method: 'get',
- url: `${baseUrl}${common}/cms/image/:id`
- },
- addImage: {
- method: 'post',
- url: `${baseUrl}${common}/cms/image`
- },
- editImage: {
- method: 'put',
- url: `${baseUrl}${common}/cms/image/:id`
- },
- deleteDetail: {
- method: 'delete',
- url: `${baseUrl}${common}/cms/image/:id`
- },
- case: {
- method: 'get',
- url: `${baseUrl}${common}/cms/case`
- },
- caseDetail: {
- method: 'get',
- url: `${baseUrl}${common}/cms/case/:id`
- },
- addCase: {
- method: 'post',
- url: `${baseUrl}${common}/cms/case`
- },
- editCase: {
- method: 'put',
- url: `${baseUrl}${common}/cms/case/:id`
- },
- deleteCase: {
- method: 'delete',
- url: `${baseUrl}${common}/cms/case/:id`
- },
- info: {
- method: 'get',
- url: `${baseUrl}${common}/cms/info`
- },
- infoDetail: {
- method: 'get',
- url: `${baseUrl}${common}/cms/info/:id`
- },
- addInfo: {
- method: 'post',
- url: `${baseUrl}${common}/cms/info`
- },
- editInfo: {
- method: 'put',
- url: `${baseUrl}${common}/cms/info/:id`
- },
- deleteInfo: {
- method: 'delete',
- url: `${baseUrl}${common}/cms/info/:id`
- },
- news: {
- method: 'get',
- url: `${baseUrl}${common}/cms/news`
- },
- newsDetail: {
- method: 'get',
- url: `${baseUrl}${common}/cms/news/:id`
- },
- addNews: {
- method: 'post',
- url: `${baseUrl}${common}/cms/news`
- },
- editNews: {
- method: 'put',
- url: `${baseUrl}${common}/cms/news/:id`
- },
- deleteNews: {
- method: 'delete',
- url: `${baseUrl}${common}/cms/news/:id`
- },
- caseShow: {
- method: 'put',
- url: `${baseUrl}${common}/cms/caseshow/:id`
- },
- caseHide: {
- method: 'put',
- url: `${baseUrl}${common}/cms/casehide/:id`
- },
- getCourseLink: {
- method: 'get',
- url: `${baseUrl}${common}/dict/course`
- },
- },
- file: {
- image: {
- method: 'post',
- url: `${baseUrl}${common}/file`
- }
- },
- role: {
- list: {
- method: 'get',
- url: `${baseUrl}${common}/role`
- },
- info: {
- method: 'get',
- url: `${baseUrl}${common}/role/:id`
- },
- add: {
- method: 'post',
- url: `${baseUrl}${common}/role`
- },
- update: {
- method: 'put',
- url: `${baseUrl}${common}/role`
- },
- delete: {
- method: 'delete',
- url: `${baseUrl}${common}/role/:id`
- },
- getmenus: {
- method: 'get',
- url: `${baseUrl}${common}/rolemenu/:id`
- },
- savemenu: {
- method: 'put',
- url: `${baseUrl}${common}/rolemenu/:id`
- },
- },
- dataStatistics: {
- getCustomerList: {
- method: 'get',
- url: `${baseUrl}${common}/customer`
- }
- },
- device: {
- list: {
- method: 'get',
- url: `${baseUrl}${common}/case/equipment`
- },
- info: {
- method: 'get',
- url: `${baseUrl}${common}/case/equipment/:id`
- },
- add: {
- method: 'post',
- url: `${baseUrl}${common}/case/equipment`
- },
- update: {
- method: 'put',
- url: `${baseUrl}${common}/case/equipment`
- },
- delete: {
- method: 'delete',
- url: `${baseUrl}${common}/case/equipment/:id`
- },
- },
- course: {
- getCourseList: {
- method: 'get',
- url: `${baseUrl}${common}/courseues`
- },
- list: {
- method: 'get',
- url: `${baseUrl}${common}/course`
- },
- info: {
- method: 'get',
- url: `${baseUrl}${common}/course/:id`
- },
- tags: {
- method: 'get',
- url: `${baseUrl}${common}/coursetag`
- },
- add: {
- method: 'post',
- url: `${baseUrl}${common}/course`
- },
- update: {
- method: 'put',
- url: `${baseUrl}${common}/course`
- },
- delete: {
- method: 'delete',
- url: `${baseUrl}${common}/course/:id`
- },
- public: {
- method: 'put',
- url: `${baseUrl}${common}/course/:id/public`
- },
- unpublic: {
- method: 'put',
- url: `${baseUrl}${common}/course/:id/unpublic`
- },
- getimgs: {
- method: 'get',
- url: `${baseUrl}${common}/courseimg/:id`
- },
- addimgs: {
- method: 'post',
- url: `${baseUrl}${common}/courseimg`
- },
- updateimgs: {
- method: 'put',
- url: `${baseUrl}${common}/courseimg`
- },
- deleteimgs: {
- method: 'delete',
- url: `${baseUrl}${common}/courseimg/:id`
- },
- schedule: {
- method: 'get',
- url: `${baseUrl}${common}/schedule`
- },
- detail: {
- method: 'get',
- url: `${baseUrl}${common}/detail`
- },
- getDetailByID: {
- method: 'get',
- url: `${baseUrl}${common}/detail/:id`
- },
- addDetail: {
- method: 'post',
- url: `${baseUrl}${common}/detail`
- },
- updateDetail: {
- method: 'put',
- url: `${baseUrl}${common}/detail`
- },
- delDetail: {
- method: 'delete',
- url: `${baseUrl}${common}/detail/:id`
- },
- },
- verification: {
- coursebycode: {
- method: 'get',
- url: `${baseUrl}${common}/verify/course/code/:id`
- },
- coursebytel: {
- method: 'get',
- url: `${baseUrl}${common}/verify/course/tel/:tel`
- },
- courseverify: {
- method: 'put',
- url: `${baseUrl}${common}/verify/course/:id`
- },
- drawVerify: {
- method: 'put',
- url: `${baseUrl}${common}/luckdrawlist/verify/:id`
- },
- drawVerifyList: {
- method: 'get',
- url: `${baseUrl}${common}/luckdrawlist/verify/:id`
- },
- getCustomerName: {
- method: 'get',
- url: `${baseUrl}${common}/customer/tel/:id`
- },
- flashbuyVerifyList: {
- method: 'get',
- url: `${baseUrl}${common}/flashbuy/verify/:id/:caseid`
- },
- flashbuyVerify: {
- method: 'put',
- url: `${baseUrl}${common}/flashbuy/verify/:id`
- },
- },
- goodsOrder: {
- putPrintGoodsOrder: {
- method: 'put',
- url: `${baseUrl}${common}/order/goods/intimidate/:id`
- },
- getOnlineOrder: {
- method: 'get',
- url: `${baseUrl}${common}/order/online/goods`
- },
- getOrdersByRecord: {
- method: 'get',
- url: `${baseUrl}${common}/order/goods/record/:id`
- },
- openBusiness: {
- method: 'put',
- url: `${baseUrl}${common}/case/open/:caseid`
- },
- closeBusiness: {
- method: 'put',
- url: `${baseUrl}${common}/case/close/:caseid`
- },
- getBusinessStatus: {
- method: 'get',
- url: `${baseUrl}${common}/case/conf/:id`
- },
- checkOrder: {
- method: 'put',
- url: `${baseUrl}${common}/order/goods/finish/:id`
- },
- cancelOrder: {
- method: 'put',
- url: `${baseUrl}${common}/order/goods/cancel/:id`
- }
- },
- cardManager: {
- viplist: {
- method: 'get',
- url: `${baseUrl}${common}/vipcard`
- },
- vipadd: {
- method: 'post',
- url: `${baseUrl}${common}/vipcard`
- },
- vipcharge: {
- method: 'put',
- url: `${baseUrl}${common}/vipcard/:code`
- },
- vipbycode: {
- method: 'get',
- url: `${baseUrl}${common}/vipcard/:code`
- },
- cardList: {
- method: 'get',
- url: `${baseUrl}${common}/card`
- },
- addCard: {
- method: 'post',
- url: `${baseUrl}${common}/card`
- },
- editCard: {
- method: 'put',
- url: `${baseUrl}${common}/card/:id`
- },
- getCardById: {
- method: 'get',
- url: `${baseUrl}${common}/card/:id`
- },
- giveCard: {
- method: 'post',
- url: `${baseUrl}${common}/card/:id/to/:users`
- },
- vipcardExcel: {
- method: 'get',
- url: `${baseUrl}${common}/vipcard/excel`
- },
- },
- couponManager: {
- couponList: {
- method: 'get',
- url: `${baseUrl}${common}/coupon`
- },
- addCoupon: {
- method: 'post',
- url: `${baseUrl}${common}/coupon`
- },
- editCoupon: {
- method: 'put',
- url: `${baseUrl}${common}/coupon/:id`
- },
- getCouponById: {
- method: 'get',
- url: `${baseUrl}${common}/coupon/:id`
- },
- giveCoupon: {
- method: 'post',
- url: `${baseUrl}${common}/coupon/:id/to/:users`
- },
- },
- gymCardManager: {
- gymCardList: {
- method: 'get',
- url: `${baseUrl}${common}/gymcard`
- },
- addGymCard: {
- method: 'post',
- url: `${baseUrl}${common}/gymcard`
- },
- editGymCard: {
- method: 'put',
- url: `${baseUrl}${common}/gymcard`
- },
- getGymCardById: {
- method: 'get',
- url: `${baseUrl}${common}/gymcard/:id`
- },
- giveCard: {
- method: 'post',
- url: `${baseUrl}${common}/gymcard/:id/to/:users`
- }
- },
- customerManager: {
- getByTel: {
- method: 'get',
- url: `${baseUrl}${common}/customer/tel/:tel`
- },
- getCustomerList: {
- method: 'get',
- url: `${baseUrl}${common}/customer`
- }
- },
- marketingActivities: {
- getMarketingList: {
- method: 'get',
- url: `${baseUrl}${common}/marketing`
- },
- addMarketing: {
- method: 'post',
- url: `${baseUrl}${common}/marketing`
- },
- delMarketing: {
- method: 'delete',
- url: `${baseUrl}${common}/marketing/:activityId`
- },
- delMarketingNormal: {
- method: 'put',
- url: `${baseUrl}${common}/marketing/normal/:activityId`
- },
- delMarketingDisable: {
- method: 'put',
- url: `${baseUrl}${common}/marketing/disable/:activityId`
- },
- getCouponList: {
- method: 'get',
- url: `${baseUrl}${common}/coupon/type/:type`
- }
- },
- statistics: {
- goods: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/goods`
- },
- goodsExcel: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/goods/excel`
- },
- goodsOrder: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/goodsorders`
- },
- goodsOrderExcel: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/goodsorders/excel`
- },
- courseOrder: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/courseorders`
- },
- courseOrderExcel: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/courseorders/excel`
- },
- courseList: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/courses`
- },
- courseListExcel: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/courses/excel`
- },
- cardCouponList: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/cardcoupon`
- },
- cardCouponListExcel: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/cardcoupon/excel`
- },
- cardCouponUsedList: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/cardcouponused`
- },
- cardCouponUsedListExcel: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/cardcouponused/excel`
- },
- courseVerifyList: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/cardcouponverify`
- },
- courseVerifyListExcel: {
- method: 'get',
- url: `${baseUrl}${common}/statistics/cardcouponverify/excel`
- },
- },
- dashboard: {
- dashboardData: {
- method: 'get',
- url: `${baseUrl}${common}/dashboard`
- },
- dashboardBottomData: {
- method: 'get',
- url: `${baseUrl}${common}/dashboard/charts`
- },
- },
- health: {
- healthList: {
- method: 'get',
- url: `${baseUrl}${common}/bodychecklist`
- }
- },
- luckDraw: {
- luckDrawList: {
- method: 'get',
- url: `${baseUrl}${common}/luckdrawlist`
- },
- luckDrawShareList: {
- method: 'get',
- url: `${baseUrl}${common}/luckdrawlist/share`
- }
- },
- activityManager: {
- luckdrawList: {
- method: 'get',
- url: `${baseUrl}${common}/luckdraw`
- },
- luckdrawInfoById: {
- method: 'get',
- url: `${baseUrl}${common}/luckdraw/:id`
- },
- addLuckdraw: {
- method: 'post',
- url: `${baseUrl}${common}/luckdraw`
- },
- editLuckdraw: {
- method: 'put',
- url: `${baseUrl}${common}/luckdraw/:id`
- },
- deleteLuckdraw: {
- method: 'delete',
- url: `${baseUrl}${common}/luckdraw/:id`
- },
- getDrawTemplateList: {
- method: 'get',
- url: `${baseUrl}${common}/luckdrawtpl`
- },
- getRecordsList: {
- method: 'get',
- url: `${baseUrl}${common}/luckdraw/records/:id`
- },
- getShareList: {
- method: 'get',
- url: `${baseUrl}${common}/luckdraw/share/:id`
- },
- openActivity: {
- method: 'put',
- url: `${baseUrl}${common}/luckdraw/:id/open`
- },
- stopActivity: {
- method: 'put',
- url: `${baseUrl}${common}/luckdraw/:id/stop`
- },
- getFlashbuyTemplateList: {
- method: 'get',
- url: `${baseUrl}${common}/flashbuy/model`
- },
- addFlashbuy: {
- method: 'post',
- url: `${baseUrl}${common}/flashbuy`
- },
- getFlashbuyList: {
- method: 'get',
- url: `${baseUrl}${common}/flashbuy`
- },
- getFlashbuyById: {
- method: 'get',
- url: `${baseUrl}${common}/flashbuy/:id`
- },
- editFlashbuy: {
- method: 'put',
- url: `${baseUrl}${common}/flashbuy/edit`
- },
- deleteFlashbuy: {
- method: 'delete',
- url: `${baseUrl}${common}/flashbuy/:id`
- },
- getFlashbuyRecordsById: {
- method: 'get',
- url: `${baseUrl}${common}/flashbuy/customer/:id`
- },
- updateFlashbuyStatus: {
- method: 'put',
- url: `${baseUrl}${common}/flashbuy/:id/:status`
- },
- getCardListByCaseId: {
- method: 'get',
- url: `${baseUrl}${common}/card/sys/:id`
- },
- getCouponListByCaseId: {
- method: 'get',
- url: `${baseUrl}${common}/coupon/sys/:id`
- },
- },
- record: {
- getRecordList: {
- method: 'get',
- url: `${baseUrl}${common}/record`
- }
- }
- }
- export default $api
|