Commit e46af81f authored by David黄金龙's avatar David黄金龙

替换我的积分 url

parent b420adcf
......@@ -239,12 +239,17 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
var token : String = param
//待h5端同学提供
var url = "https:www.baidu.com"
#if DEBUG
var url = "https://test-hkdiy-h5.galaxy-immi.com/superApp/integral"
#elseif TESTNEV
var url = "https://test-hkdiy-h5.galaxy-immi.com/superApp/integral"
#else
var url = "https://thkdiy-h5.galaxy-immi.com/superApp/integral"
#endif
let addtionString = randomAlphanumericString(6)//随机6个字母或者数字
let indexToInsert = token.index(token.startIndex, offsetBy: 6) //插入位置,这里以第六个字符后面为例
token.insert(contentsOf: addtionString, at: indexToInsert)
url = url + "?param=" + token
YHHUD.flash(message: "还需要H5同学给URL")
printLog(url)
......
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