func verifyForbidSign(playerId string, _type int, sign string) bool { rawstring := fmt.Sprintf("%s-%d-%s-%s", playerId, _type, configBLL.AppId(), configBLL.AppKey()) if sign == securityUtil.Md5String(rawstring, false) { return true } return false }
func verifySensitiveSign(message string, sign string) bool { rawstring := fmt.Sprintf("%s-%s-%s", message, configBLL.AppId(), configBLL.AppKey()) if sign == securityUtil.Md5String(rawstring, false) { return true } return false }