wangshan 2 жил өмнө
parent
commit
aafd716c08

+ 1 - 1
handler/award/docs.go

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