fix: admin database charset
This commit is contained in:
@@ -35,7 +35,7 @@ func NewInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *InfoLogic {
|
||||
func (l *InfoLogic) Info(in *product.InfoReq) (*product.Response, error) {
|
||||
var req validator.ProductInfoValidator
|
||||
if msg := validateService.ValidateFromProto(in, &req); msg != utils.StringEmpty {
|
||||
return msgResponse(utils.Ok.Code, msg), nil
|
||||
return outResponse(utils.ErrorParams, msg), nil
|
||||
}
|
||||
|
||||
var info dao.ProductInfo
|
||||
|
||||
Reference in New Issue
Block a user