Przeglądaj źródła

feat:会展活动 文库

wangshan 2 lat temu
rodzic
commit
aafd716c08
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 		}