作者 yangfu

Merge remote-tracking branch 'origin/dev' into test

@@ -499,7 +499,7 @@ func ClearEmptyForm(inputFormList []*Form) (FormList []*Form) { @@ -499,7 +499,7 @@ func ClearEmptyForm(inputFormList []*Form) (FormList []*Form) {
499 type Speech struct { 499 type Speech struct {
500 Path string `json:"path"` 500 Path string `json:"path"`
501 Duration int `json:"duration"` 501 Duration int `json:"duration"`
502 - VideoId string `json:"videoId"` 502 + VideoId string `json:"-"` //videoId
503 } 503 }
504 504
505 //图片 505 //图片
@@ -507,7 +507,7 @@ type Picture struct { @@ -507,7 +507,7 @@ type Picture struct {
507 Path string `json:"path"` 507 Path string `json:"path"`
508 W int `json:"w"` 508 W int `json:"w"`
509 H int `json:"h"` 509 H int `json:"h"`
510 - ImageId string `json:"imageId"` 510 + ImageId string `json:"-"` //imageId
511 } 511 }
512 512
513 //视频 513 //视频
@@ -515,7 +515,7 @@ type Video struct { @@ -515,7 +515,7 @@ type Video struct {
515 Path string `json:"path"` 515 Path string `json:"path"`
516 Cover Cover `json:"cover"` //封面 516 Cover Cover `json:"cover"` //封面
517 Duration int `json:"duration"` 517 Duration int `json:"duration"`
518 - VideoId string `json:"videoId"` 518 + VideoId string `json:"-"` //videoId
519 } 519 }
520 520
521 //审批配置 521 //审批配置
@@ -213,7 +213,7 @@ func SetChanceItem(header *protocol.RequestHeader, chance protocol.CommChanceIte @@ -213,7 +213,7 @@ func SetChanceItem(header *protocol.RequestHeader, chance protocol.CommChanceIte
213 } 213 }
214 if chance.Status == models.ChanceStatusClose { //机会关闭 214 if chance.Status == models.ChanceStatusClose { //机会关闭
215 chanceStatus = protocol.ChanceStatusClose 215 chanceStatus = protocol.ChanceStatusClose
216 - return 216 + //return
217 } 217 }
218 218
219 item = protocol.ChanceItem{ 219 item = protocol.ChanceItem{
@@ -363,6 +363,7 @@ func GetCheckQuestionsByChanceCheckResult(header *protocol.RequestHeader, id int @@ -363,6 +363,7 @@ func GetCheckQuestionsByChanceCheckResult(header *protocol.RequestHeader, id int
363 } 363 }
364 if c.CheckPid == 0 { 364 if c.CheckPid == 0 {
365 item.Title = fmt.Sprintf("%v、%v", groupIdx, c.CheckItem) 365 item.Title = fmt.Sprintf("%v、%v", groupIdx, c.CheckItem)
  366 + groupIdx++
366 } else { 367 } else {
367 item.Title = c.CheckItem 368 item.Title = c.CheckItem
368 } 369 }