修复产品修改、删除

This commit is contained in:
2024-10-15 00:23:07 +08:00
parent e6467b7004
commit 8f903b457f
31 changed files with 1292 additions and 111 deletions

View File

@@ -191,6 +191,7 @@ service gateway-api {
@handler getUserProductList
get /userProductList (GetUserProductListReq) returns (GetUserProductListResp)
}
@server (
group: userProduct
prefix: /api/console/user-product
@@ -202,8 +203,8 @@ service gateway-api {
@handler deleteUserProduct
delete /userProductDel/:id (DeleteUserProductReq)
}
type (
AddWhitelistReq {
Ip string `json:"ip"`
@@ -250,3 +251,25 @@ service gateway-api {
delete /delWhitelist (DeleteWhitelistReq)
}
type (
AliTopUpRequest {
amount int64 `json:"amount"`
}
AliTopUpResponse {
payUrl string `json:"payUrl"`
}
)
@server (
group: topup
prefix: /api/console/topupfmghnjx
middleware: AuthInterceptor,EntAuthInterceptor
)
service gateway-api {
@handler aliTopUp
post /aliTopUp (AliTopUpRequest) returns (AliTopUpResponse)
@handler aliTopUpCallback
post /aliTopUpCallback
}