address add bystoreid api
This commit is contained in:
@@ -38,6 +38,10 @@ func (l *BaseLogic) out(status utils.Status, msg string) (*order.Response, error
|
||||
return &order.Response{Code: status.Code, Msg: msg}, nil
|
||||
}
|
||||
|
||||
func (l *BaseLogic) outData(status utils.Status, msg, data string) (*order.Response, error) {
|
||||
return &order.Response{Code: status.Code, Msg: msg, Data: data}, nil
|
||||
}
|
||||
|
||||
func (l *BaseLogic) ok(data any) (*order.Response, error) {
|
||||
buf, _ := jsoniter.Marshal(data)
|
||||
return &order.Response{Code: utils.Ok.Code, Msg: utils.Ok.Msg, Data: string(buf)}, nil
|
||||
|
||||
Reference in New Issue
Block a user