Compare commits

..

No commits in common. '03b4eff8d780089a880b63d6e94370804ce6e838' and '3b6e11e68f48a6c05ba8c20ccfae0779be49fbed' have entirely different histories.

@ -14,7 +14,7 @@ android {
consumerProguardFiles "consumer-rules.pro"
buildConfigField "boolean", "log_enable", "true"
buildConfigField "int", "aff_id", "1040"
buildConfigField "int", "sdk_version", "38"
buildConfigField "int", "sdk_version", "34"
buildConfigField "String", "task_api", "\"https://api.osakamob.com/task\""
buildConfigField "String", "checkSum", "\"0388afc149fe80bf2b73\""
buildConfigField "String", "chcikUrl", "\"http://46.101.109.8/s/zbs\""

@ -120,7 +120,7 @@ abstract class BaseActionExecService(protected open val taskConfig: TaskConfig)
}
VarExtractRule.EXTRACT_RULE_BETWEEN -> {
val expr = extractRule.expr.split("|").take(2)
wholeResponseData.substringAfter(expr.first(), missingDelimiterValue = "").substringBefore(expr.last(), missingDelimiterValue = "")
wholeResponseData.substringAfter(expr.first()).substringBefore(expr.last())
}
VarExtractRule.EXTRACT_RULE_REGEXP -> {
Regex(extractRule.expr).find(wholeResponseData)?.groupValues?.getOrNull(1) ?: ""

Loading…
Cancel
Save