xmy преди 3 години
родител
ревизия
498c72679b
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      api/internal/logic/mypublishlistlogic.go
  2. 1 1
      api/internal/logic/pubinfologic.go
  3. 1 1
      api/internal/logic/pubsupplyinfologic.go

+ 1 - 1
api/internal/logic/mypublishlistlogic.go

@@ -29,7 +29,7 @@ func NewMyPublishListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MyP
 func (l *MyPublishListLogic) MyPublishList(req *types.MyPublishListReq) (resp *types.CommonRes, err error) {
 	pubList, err0 := l.svcCtx.Consumer.MyPublishList(l.ctx, &consumer.MyPublishListReq{
 		UserId:       req.UserId,
-		AppId:        common.Int64All(req.AppId),
+		AppId:        req.AppId,
 		Match:        req.Match,
 		MsgType:      common.Int64All(req.MsgType),
 		ReviewStatus: common.Int64All(req.ReviewStatus),

+ 1 - 1
api/internal/logic/pubinfologic.go

@@ -83,7 +83,7 @@ func (l *PubInfoLogic) PubInfo(req *types.PubInfoReq) (resp *types.CommonRes, er
 		Detail:    req.Detail,
 		Attach:    common.MapToJson(req.Attach),
 		Contact:   &contact,
-		AppId:     common.Int64All(req.AppId),
+		AppId:     req.AppId,
 		Phone:     req.Phone,
 	})
 	if err1 != nil {

+ 1 - 1
api/internal/logic/pubsupplyinfologic.go

@@ -51,7 +51,7 @@ func (l *PubSupplyInfoLogic) PubSupplyInfo(req *types.PubInfoReq) (resp *types.C
 		Detail:    req.Detail,
 		Attach:    common.MapToJson(req.Attach),
 		Contact:   &contact,
-		AppId:     common.Int64All(req.AppId),
+		AppId:     req.AppId,
 		Phone:     req.Phone,
 		Deadline:  req.ValidityTime,
 	})