fix: 代理系列授权和操作日志去掉
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m58s

This commit is contained in:
luo
2026-08-10 17:27:15 +08:00
parent 8650b490d7
commit 9599a4d52b
17 changed files with 207 additions and 883 deletions

View File

@@ -9,6 +9,7 @@ import type {
CreateShopSeriesGrantRequest,
UpdateShopSeriesGrantRequest,
ManageGrantPackagesRequest,
ShopSeriesGrantPackageOptionsResponse,
BaseResponse,
PaginationResponse
} from '@/types/api'
@@ -45,6 +46,20 @@ export class ShopSeriesGrantService extends BaseService {
return this.getOne<ShopSeriesGrantResponse>(`/api/admin/shop-series-grants/${id}`)
}
/**
* 获取代理系列授权可选套餐
* GET /api/admin/shop-series-grants/package-options
*/
static getPackageOptions(
shopId: number,
seriesId: number
): Promise<BaseResponse<ShopSeriesGrantPackageOptionsResponse>> {
return this.getOne<ShopSeriesGrantPackageOptionsResponse>(
'/api/admin/shop-series-grants/package-options',
{ shop_id: shopId, series_id: seriesId }
)
}
/**
* 更新代理系列授权
* PUT /api/admin/shop-series-grants/{id}