shop.js 542 B

123456789101112131415161718192021
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const bindStore = data => {
  3. return https.post('/delivery-shop/bind-store', data)
  4. }
  5. export const unBindStore = data => {
  6. return https.post('/delivery-shop/unbind-store', data)
  7. }
  8. export const storeList = data => {
  9. return https.get('/delivery-shop/store-list', data)
  10. }
  11. export const storeDetail = data => {
  12. return https.post('/delivery-shop/store-detail', data)
  13. }
  14. export const updateStore = data => {
  15. return https.post('/delivery-shop/update-store', data)
  16. }