diff --git a/.env.production b/.env.production index 44c2080c..8d0ad69f 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,9 @@ NODE_ENV = 'production' # Base API # # 测试域名 -VITE_NOW_TYPE = 'dist/admin' -VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' +# VITE_NOW_TYPE = 'dist/admin' +# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' # 正式域名 -# VITE_NOW_TYPE = 'build/admin' -# VITE_APP_BASE_URL='https://multi-store.lihaink.cn' \ No newline at end of file +VITE_NOW_TYPE = 'build/admin' +VITE_APP_BASE_URL='https://multi-store.lihaink.cn' \ No newline at end of file diff --git a/src/api/user_ship.ts b/src/api/user_ship.ts new file mode 100644 index 00000000..15b85a42 --- /dev/null +++ b/src/api/user_ship.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 会员类型列表 +export function apiUserShipLists(params: any) { + return request.get({ url: '/user_ship/usership/lists', params }) +} + +// 添加会员类型 +export function apiUserShipAdd(params: any) { + return request.post({ url: '/user_ship/usership/add', params }) +} + +// 编辑会员类型 +export function apiUserShipEdit(params: any) { + return request.post({ url: '/user_ship/usership/edit', params }) +} + +// 删除会员类型 +export function apiUserShipDelete(params: any) { + return request.post({ url: '/user_ship/usership/delete', params }) +} + +// 会员类型详情 +export function apiUserShipDetail(params: any) { + return request.get({ url: '/user_ship/usership/detail', params }) +} \ No newline at end of file diff --git a/src/views/order/store_order/index.vue b/src/views/order/store_order/index.vue index 920fb68f..f4558262 100644 --- a/src/views/order/store_order/index.vue +++ b/src/views/order/store_order/index.vue @@ -45,6 +45,7 @@