diff --git a/src/apis.js b/src/apis.js index 7e8f0ed..3ae9fc2 100644 --- a/src/apis.js +++ b/src/apis.js @@ -752,3 +752,14 @@ export const getNearbyStoresAPI = ({ pageSize, }); }; + +// 分页获取指定门店的公开金币规则。 +export const getStoreGoldRuleListAPI = ({storeId, page = 1, pageSize = 20} = {}) => { + return request( + "GET", + `/gin/api/v1/super-admin/gold-rule/store/${storeId}/list`, + {page, page_size: pageSize}, + API_ROOT_URL, + [0, 200] + ); +}; diff --git a/src/pages/coin/components/CoinEmptyState.vue b/src/pages/coin/components/CoinEmptyState.vue index 005f2ed..6f8b5b9 100644 --- a/src/pages/coin/components/CoinEmptyState.vue +++ b/src/pages/coin/components/CoinEmptyState.vue @@ -9,7 +9,10 @@ defineProps({ diff --git a/src/pages/coin/components/LocationPermissionState.vue b/src/pages/coin/components/LocationPermissionState.vue index 66faf2e..ccf8c9a 100644 --- a/src/pages/coin/components/LocationPermissionState.vue +++ b/src/pages/coin/components/LocationPermissionState.vue @@ -4,7 +4,10 @@ const emit = defineEmits(["authorize"]);