store.js 634 B

12345678910111213141516171819202122232425
  1. import Request from '../common/request.js';
  2. let request = new Request().http
  3. export function getStoreList(data) {
  4. return request('/app/store/getStoreList', data, 'GET');
  5. }
  6. // 开票
  7. export function bill(data) {
  8. return request('/app/storeOrder/bill', data, 'POST', 'application/json;charset=UTF-8');
  9. }
  10. // 开票详情
  11. export function billInfo(data) {
  12. return request('/app/storeOrder/billInfo', data, 'GET');
  13. }
  14. // 开票历史
  15. export function billList(data) {
  16. return request('/app/storeOrder/billList', data, 'GET');
  17. }
  18. // 开票冲红
  19. export function billBack(data) {
  20. return request('/app/storeOrder/billBack', data, 'GET');
  21. }