| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- import https from '@/plugins/luch-request_0.0.7/request'
- /** *
- * 门店列表
- */
- export const getList = data => {
- return https.get('/shop/list', data)
- }
- /** *
- * 修改门店
- */
- export const updateShop = data => {
- return https.post('/shop/update', data)
- }
- /** *
- * 添加门店
- */
- export const addShop = data => {
- return https.post('/shop/add', data)
- }
- /** *
- * 删除门店
- */
- export const delShop = data => {
- return https.get('/shop/delete', data)
- }
- /** *
- * 下载收款码
- */
- export const downQrCode = data => {
- return https.get('/shop/download-gathering-code', data, {}, { hideError: true })
- }
- /** *
- * 下载注册会员码
- */
- export const downMemberCode = data => {
- return https.get('/shop/download-apply-member-code', data, {}, { hideError: true })
- }
- //当前登陆的门店信息 shish 2021.3,27
- export const currentShop = data => {
- return https.get('/shop/current-shop', data)
- }
- //添加云打印机
- export const addCloudPrint = data => {
- return https.get('/shop-ext/add-print', data)
- }
- //获取云打印机信息
- export const getPrint = data => {
- return https.get('/shop-ext/get-print', data)
- }
- //添加云喇叭
- export const addCloudLb = data => {
- return https.get('/shop-ext/add-lb', data)
- }
- //获取云喇叭信息
- export const getLb = data => {
- return https.get('/shop-ext/get-lb', data)
- }
- export const getPtGhsShop = data => {
- return https.get('/shop/get-pt-ghs-shop', data)
- }
- export const switchGhsShop = data => {
- return https.get('/shop/switch-ghs-shop', data)
- }
- export const skCustom = data => {
- return https.get('/shop/sk-custom', data)
- }
- export const skCustomSet = data => {
- return https.get('/shop/sk-custom-set', data)
- }
- export const updateCgModel = data => {
- return https.get('/shop/update-cg-model', data)
- }
|