fix: 代理系列授权和操作日志去掉
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m58s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m58s
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user