Commit 8b713673 authored by liuyang's avatar liuyang

APK图片抓取识别及轮播流地址抓取,ftp上传处理

#BYLSERVER-1438
parent a68566a7
...@@ -3,7 +3,7 @@ package com.duolebo.blyrobot.util ...@@ -3,7 +3,7 @@ package com.duolebo.blyrobot.util
import com.duolebo.appbase.prj.bmtv.protocol.IProtocolConfig import com.duolebo.appbase.prj.bmtv.protocol.IProtocolConfig
class Config: IProtocolConfig { class Config: IProtocolConfig {
private val isDebug = false private val isDebug = true
override fun getProtocolUrl(): String { override fun getProtocolUrl(): String {
if (isDebug) if (isDebug)
...@@ -30,15 +30,22 @@ class Config: IProtocolConfig { ...@@ -30,15 +30,22 @@ class Config: IProtocolConfig {
} }
fun getFtpUserName(): String { fun getFtpUserName(): String {
return "mateng" if (isDebug)
return "mateng"
return "ftpclient"
} }
fun getFtpPassword(): String { fun getFtpPassword(): String {
return "qwertasdfg" if (isDebug)
return "qwertasdfg"
return "dlbftp1234qwer"
} }
fun getFtpRemotePath(): String { fun getFtpRemotePath(): String {
return "/upload" if (isDebug)
return "/upload"
return "/screenshot"
} }
companion object { companion object {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment