xingzai 1 år sedan
förälder
incheckning
dc009ae5b6
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      controllers/collection.go
  2. 1 1
      models/apply_collection.go

+ 2 - 2
controllers/collection.go

@@ -147,7 +147,7 @@ func (this *CollectionController) ApplyAdd() {
 // @Title  获取申请详情
 // @Description 获取申请详情接口
 // @Param   ApplyCollectionId   query   int  true       "ID"
-// @Success Ret=200 {object} cygx.GetCygxProductInteriorDetailResp
+// @Success Ret=200 {object} cygx.CygxApplyCollectionDetailResp
 // @router /apply/detail [get]
 func (this *CollectionController) ApplyDetail() {
 	br := new(models.BaseResponse).Init()
@@ -162,7 +162,7 @@ func (this *CollectionController) ApplyDetail() {
 		br.Ret = 408
 		return
 	}
-	resp := new(models.CygxBannerYxSurveyRespDetailResp)
+	resp := new(models.CygxApplyCollectionDetailResp)
 	applyCollectionId, _ := this.GetInt("ApplyCollectionId")
 	if applyCollectionId < 1 {
 		br.Msg = "请输入详情ID"

+ 1 - 1
models/apply_collection.go

@@ -71,6 +71,6 @@ func GetCygxApplyCollectionDetail(applyCollectionId int) (item *CygxApplyCollect
 	return
 }
 
-type CygxBannerYxSurveyRespDetailResp struct {
+type CygxApplyCollectionDetailResp struct {
 	Detail *CygxApplyCollectionResp
 }