修复产品修改、删除
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user