1
This commit is contained in:
@@ -167,22 +167,3 @@ func (petAdoptionApplicationsApi *PetAdoptionApplicationsApi) GetPetAdoptionAppl
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetAdoptionApplicationsPublic 不需要鉴权的petAdoptionApplications表接口
|
||||
// @Tags PetAdoptionApplications
|
||||
// @Summary 不需要鉴权的petAdoptionApplications表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petAdoptionApplications/getPetAdoptionApplicationsPublic [get]
|
||||
func (petAdoptionApplicationsApi *PetAdoptionApplicationsApi) GetPetAdoptionApplicationsPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petAdoptionApplicationsService.GetPetAdoptionApplicationsPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petAdoptionApplications表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petAdoptionPostsApi *PetAdoptionPostsApi) GetPetAdoptionPostsList(c *gin.C
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetAdoptionPostsPublic 不需要鉴权的petAdoptionPosts表接口
|
||||
// @Tags PetAdoptionPosts
|
||||
// @Summary 不需要鉴权的petAdoptionPosts表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petAdoptionPosts/getPetAdoptionPostsPublic [get]
|
||||
func (petAdoptionPostsApi *PetAdoptionPostsApi) GetPetAdoptionPostsPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petAdoptionPostsService.GetPetAdoptionPostsPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petAdoptionPosts表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petAiAssistantConversationsApi *PetAiAssistantConversationsApi) GetPetAiAs
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetAiAssistantConversationsPublic 不需要鉴权的petAiAssistantConversations表接口
|
||||
// @Tags PetAiAssistantConversations
|
||||
// @Summary 不需要鉴权的petAiAssistantConversations表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petAiAssistantConversations/getPetAiAssistantConversationsPublic [get]
|
||||
func (petAiAssistantConversationsApi *PetAiAssistantConversationsApi) GetPetAiAssistantConversationsPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petAiAssistantConversationsService.GetPetAiAssistantConversationsPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petAiAssistantConversations表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petAiConversationsApi *PetAiConversationsApi) GetPetAiConversationsList(c
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetAiConversationsPublic 不需要鉴权的petAiConversations表接口
|
||||
// @Tags PetAiConversations
|
||||
// @Summary 不需要鉴权的petAiConversations表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petAiConversations/getPetAiConversationsPublic [get]
|
||||
func (petAiConversationsApi *PetAiConversationsApi) GetPetAiConversationsPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petAiConversationsService.GetPetAiConversationsPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petAiConversations表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petFamiliesApi *PetFamiliesApi) GetPetFamiliesList(c *gin.Context) {
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetFamiliesPublic 不需要鉴权的petFamilies表接口
|
||||
// @Tags PetFamilies
|
||||
// @Summary 不需要鉴权的petFamilies表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petFamilies/getPetFamiliesPublic [get]
|
||||
func (petFamiliesApi *PetFamiliesApi) GetPetFamiliesPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petFamiliesService.GetPetFamiliesPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petFamilies表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petFamilyInvitationsApi *PetFamilyInvitationsApi) GetPetFamilyInvitationsL
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetFamilyInvitationsPublic 不需要鉴权的petFamilyInvitations表接口
|
||||
// @Tags PetFamilyInvitations
|
||||
// @Summary 不需要鉴权的petFamilyInvitations表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petFamilyInvitations/getPetFamilyInvitationsPublic [get]
|
||||
func (petFamilyInvitationsApi *PetFamilyInvitationsApi) GetPetFamilyInvitationsPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petFamilyInvitationsService.GetPetFamilyInvitationsPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petFamilyInvitations表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petFamilyMembersApi *PetFamilyMembersApi) GetPetFamilyMembersList(c *gin.C
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetFamilyMembersPublic 不需要鉴权的petFamilyMembers表接口
|
||||
// @Tags PetFamilyMembers
|
||||
// @Summary 不需要鉴权的petFamilyMembers表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petFamilyMembers/getPetFamilyMembersPublic [get]
|
||||
func (petFamilyMembersApi *PetFamilyMembersApi) GetPetFamilyMembersPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petFamilyMembersService.GetPetFamilyMembersPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petFamilyMembers表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petFamilyPetsApi *PetFamilyPetsApi) GetPetFamilyPetsList(c *gin.Context) {
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetFamilyPetsPublic 不需要鉴权的petFamilyPets表接口
|
||||
// @Tags PetFamilyPets
|
||||
// @Summary 不需要鉴权的petFamilyPets表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petFamilyPets/getPetFamilyPetsPublic [get]
|
||||
func (petFamilyPetsApi *PetFamilyPetsApi) GetPetFamilyPetsPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petFamilyPetsService.GetPetFamilyPetsPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petFamilyPets表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petPetsApi *PetPetsApi) GetPetPetsList(c *gin.Context) {
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetPetsPublic 不需要鉴权的petPets表接口
|
||||
// @Tags PetPets
|
||||
// @Summary 不需要鉴权的petPets表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petPets/getPetPetsPublic [get]
|
||||
func (petPetsApi *PetPetsApi) GetPetPetsPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petPetsService.GetPetPetsPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petPets表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
@@ -167,22 +167,3 @@ func (petRecordsApi *PetRecordsApi) GetPetRecordsList(c *gin.Context) {
|
||||
PageSize: pageInfo.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetPetRecordsPublic 不需要鉴权的petRecords表接口
|
||||
// @Tags PetRecords
|
||||
// @Summary 不需要鉴权的petRecords表接口
|
||||
// @Accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
|
||||
// @Router /petRecords/getPetRecordsPublic [get]
|
||||
func (petRecordsApi *PetRecordsApi) GetPetRecordsPublic(c *gin.Context) {
|
||||
// 创建业务用Context
|
||||
ctx := c.Request.Context()
|
||||
|
||||
// 此接口不需要鉴权
|
||||
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
|
||||
petRecordsService.GetPetRecordsPublic(ctx)
|
||||
response.OkWithDetailed(gin.H{
|
||||
"info": "不需要鉴权的petRecords表接口信息",
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user