fix name func
This commit is contained in:
parent
7a213f4b4d
commit
6e21f72ac0
|
@ -41,8 +41,8 @@ func (s SocialPost) GetListSocialPostAppInfoByIDs(p model.GetListSocialPostAppBy
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetBriefDetailSocialPostAdminByIDsRequest ...
|
// GetBriefDetailSocialPostAdminByIDsRequest ...
|
||||||
func (s SocialPost) GetBriefDetailSocialPostAdminByIDsRequest(p model.GetBriefDetailSocialPostAdminByIDsRequest) (*model.ResponseDetailSocialPostAdminInfo, error) {
|
func (s SocialPost) GetBriefDetailSocialPostAdminByIDsRequest(p model.GetBriefInfoSocialPostAdminByIDsRequest) (*model.ResponseDetailSocialPostAdminInfo, error) {
|
||||||
msg, err := natsio.GetServer().Request(subject.SocialPost.GetBriefDetailSocialPostAdminByIDs, toBytes(p))
|
msg, err := natsio.GetServer().Request(subject.SocialPost.GetBriefInfoSocialPostAdminByIDs, toBytes(p))
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
@ -7,7 +7,7 @@ type GetListSocialPostAppByIDsRequest struct {
|
||||||
SocialPostIDs []primitive.ObjectID `json:"socialPostIDs"`
|
SocialPostIDs []primitive.ObjectID `json:"socialPostIDs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetBriefDetailSocialPostAdminByIDsRequest ...
|
// GetBriefInfoSocialPostAdminByIDsRequest ...
|
||||||
type GetBriefDetailSocialPostAdminByIDsRequest struct {
|
type GetBriefInfoSocialPostAdminByIDsRequest struct {
|
||||||
SocialPostIDs []primitive.ObjectID `json:"socialPostIDs"`
|
SocialPostIDs []primitive.ObjectID `json:"socialPostIDs"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,8 +10,8 @@ func getSocialPostValue(val string) string {
|
||||||
// SocialPost ...
|
// SocialPost ...
|
||||||
var SocialPost = struct {
|
var SocialPost = struct {
|
||||||
GetListSocialPostAppInfoByIDs string
|
GetListSocialPostAppInfoByIDs string
|
||||||
GetBriefDetailSocialPostAdminByIDs string
|
GetBriefInfoSocialPostAdminByIDs string
|
||||||
}{
|
}{
|
||||||
GetListSocialPostAppInfoByIDs: getSocialPostValue("get_list_social_post_app_info_by_ids"),
|
GetListSocialPostAppInfoByIDs: getSocialPostValue("get_list_social_post_app_info_by_ids"),
|
||||||
GetBriefDetailSocialPostAdminByIDs: getSocialPostValue("get_brief_detail_social_post_admin_by_ids"),
|
GetBriefInfoSocialPostAdminByIDs: getSocialPostValue("get_brief_info_social_post_admin_by_ids"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue