1234567891011121314151617181920212223242526272829303132333435 |
- package logic
- import (
- "context"
- "github.com/gogf/gf/v2/util/gconv"
- IC "jyBXCore/rpc/init"
- "jyBXCore/rpc/internal/svc"
- "jyBXCore/rpc/type/bxcore"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type PropertySearchCriteriaLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewPropertySearchCriteriaLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PropertySearchCriteriaLogic {
- return &PropertySearchCriteriaLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- func (l *PropertySearchCriteriaLogic) PropertySearchCriteria(in *bxcore.SearchReq) (*bxcore.SearchCriteriaRes, error) {
- // todo: add your logic here and delete this line
- return &bxcore.SearchCriteriaRes{
- ErrCode: 0,
- ErrMsg: "",
- Data: gconv.String(IC.Property),
- }, nil
- }
|