Commit 8b713673 authored by liuyang's avatar liuyang

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

#BYLSERVER-1438
parent a68566a7
......@@ -3,7 +3,7 @@ package com.duolebo.blyrobot.util
import com.duolebo.appbase.prj.bmtv.protocol.IProtocolConfig
class Config: IProtocolConfig {
private val isDebug = false
private val isDebug = true
override fun getProtocolUrl(): String {
if (isDebug)
......@@ -30,15 +30,22 @@ class Config: IProtocolConfig {
}
fun getFtpUserName(): String {
return "mateng"
if (isDebug)
return "mateng"
return "ftpclient"
}
fun getFtpPassword(): String {
return "qwertasdfg"
if (isDebug)
return "qwertasdfg"
return "dlbftp1234qwer"
}
fun getFtpRemotePath(): String {
return "/upload"
if (isDebug)
return "/upload"
return "/screenshot"
}
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