diff --git a/src/api/shop_merchant.ts b/src/api/shop_merchant.ts new file mode 100644 index 0000000..e64bccb --- /dev/null +++ b/src/api/shop_merchant.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 商城商户列表 +export function apiShopMerchantLists(params: any) { + return request.get({ url: '/shop_merchant/lists', params }) +} + +// 添加商城商户 +export function apiShopMerchantAdd(params: any) { + return request.post({ url: '/shop_merchant/add', params }) +} + +// 编辑商城商户 +export function apiShopMerchantEdit(params: any) { + return request.post({ url: '/shop_merchant/edit', params }) +} + +// 删除商城商户 +export function apiShopMerchantDelete(params: any) { + return request.post({ url: '/shop_merchant/delete', params }) +} + +// 商城商户详情 +export function apiShopMerchantDetail(params: any) { + return request.get({ url: '/shop_merchant/detail', params }) +} \ No newline at end of file diff --git a/src/views/shop_merchant/edit.vue b/src/views/shop_merchant/edit.vue new file mode 100644 index 0000000..e1746d3 --- /dev/null +++ b/src/views/shop_merchant/edit.vue @@ -0,0 +1,103 @@ + + + diff --git a/src/views/shop_merchant/index.vue b/src/views/shop_merchant/index.vue new file mode 100644 index 0000000..e9fa9a3 --- /dev/null +++ b/src/views/shop_merchant/index.vue @@ -0,0 +1,136 @@ + + + +