123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import request from '@/utils/request'
- // 查询参数列表
- export function listApplyList(query) {
- return request({
- url: '/system/back/apply/list',
- method: 'get',
- params: query
- })
- }
- // 删除
- export function delApplyItem(userId) {
- return request({
- url: '/system/back/apply/' + userId,
- method: 'delete'
- })
- }
- // 查询产品类型
- export function listProductType() {
- return request({
- url: '/system/web/productType/all',
- method: 'get',
- })
- }
- //查询区域树
- export function areaTree(data) {
- return request({
- url: '/system/web/position/findByCodeAndLevel',
- method: 'post',
- data: data
- })
- }
- //查询订单
- export function createOrder(data) {
- return request({
- url: '/system/web/order/create-order',
- method: 'post',
- data: data
- })
- }
- // 查询购买对象列表
- export function listCustomer(query) {
- return request({
- url: '/system/web/customer/coustomer-list',
- method: 'get',
- params: query
- })
- }
- // 确认付款
- export function pay(data) {
- return request({
- url: '/system/web/order/collect-money',
- method: 'put',
- data: data
- })
- }
- // 查询购买对象列表
- export function orderDetail(query) {
- return request({
- url: '/system/web/order/offline-order-detail',
- method: 'get',
- params: query
- })
- }
|