1、新增自定义用户私人价格2、优化api服务鉴权缓存3、新增管理员端对公充值
This commit is contained in:
@@ -29,11 +29,16 @@ func (s *UserProductServer) CreateUserProduct(ctx context.Context, in *sentinel.
|
||||
return l.CreateUserProduct(in)
|
||||
}
|
||||
|
||||
func (s *UserProductServer) GetUserProductPageList(ctx context.Context, in *sentinel.UserProuctPageListRequest) (*sentinel.UserProductResponse, error) {
|
||||
func (s *UserProductServer) GetUserProductPageList(ctx context.Context, in *sentinel.UserProuctPageListRequest) (*sentinel.UserProductPageListResponse, error) {
|
||||
l := userproductlogic.NewGetUserProductPageListLogic(ctx, s.svcCtx)
|
||||
return l.GetUserProductPageList(in)
|
||||
}
|
||||
|
||||
func (s *UserProductServer) GetUserProduct(ctx context.Context, in *sentinel.UserProuctRequest) (*sentinel.UserProductResponse, error) {
|
||||
l := userproductlogic.NewGetUserProductLogic(ctx, s.svcCtx)
|
||||
return l.GetUserProduct(in)
|
||||
}
|
||||
|
||||
func (s *UserProductServer) MatchingUserIdProductCode(ctx context.Context, in *sentinel.MatchingUserIdProductCodeRequest) (*sentinel.MatchResponse, error) {
|
||||
l := userproductlogic.NewMatchingUserIdProductCodeLogic(ctx, s.svcCtx)
|
||||
return l.MatchingUserIdProductCode(in)
|
||||
|
||||
Reference in New Issue
Block a user