- jdapi.ProcessQuestionPic
This commit is contained in:
@@ -432,8 +432,8 @@ func (a *API) AfsSubmit(OrderID, pin, questionTypeCode, questionDesc, questionPi
|
|||||||
}
|
}
|
||||||
|
|
||||||
func ProcessQuestionPic(questionPic string) (outQuestionPic string) {
|
func ProcessQuestionPic(questionPic string) (outQuestionPic string) {
|
||||||
picList := strings.Split(questionPic, ",")
|
if questionPic != "" {
|
||||||
if len(picList) > 0 {
|
picList := strings.Split(questionPic, ",")
|
||||||
picList2 := make([]string, len(picList))
|
picList2 := make([]string, len(picList))
|
||||||
for index, pic := range picList {
|
for index, pic := range picList {
|
||||||
picList2[index] = AfsPicPrefix + "/" + pic
|
picList2[index] = AfsPicPrefix + "/" + pic
|
||||||
|
|||||||
Reference in New Issue
Block a user