Explorar el Código

feat:会展活动 文库

wangshan hace 2 años
padre
commit
aafd716c08
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      handler/award/docs.go

+ 1 - 1
handler/award/docs.go

@@ -16,7 +16,7 @@ func GiveDoc(userId string, data map[string]interface{}) {
 		welfareContent = common.ObjToString(data["welfareContent"])
 	}
 	switch welfareType {
-	case 0:
+	case 1:
 		if len(welfareContent) == 0 {
 			return
 		}