Commit b1141211 authored by Steven杜宇's avatar Steven杜宇

// 删除测试代码

parent 1d477761
......@@ -104,7 +104,7 @@ extension AppDelegate {
//1.数据解析
#if DEBUG
SmartConfig.debugMode = .none
#elseif TESTNEV
#elseif TESTENV
SmartConfig.debugMode = .none
#else
SmartConfig.debugMode = .none
......@@ -113,7 +113,7 @@ extension AppDelegate {
//2.bugly参数设置
#if DEBUG
Bugly.start(withAppId: YhConstant.Bugly.appidForTest)
#elseif TESTNEV
#elseif TESTENV
Bugly.start(withAppId: YhConstant.Bugly.appidForTest)
#else
Bugly.start(withAppId: YhConstant.Bugly.appidForRelease)
......
......@@ -196,14 +196,6 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget
@objc func clickRegBtn() {
YHCommonAlertView.show("风险提示", "您正在进行账号注销操作,一旦完成注销,您将无法再登录\"银河港生活\"APP,并因此无法在APP中继续现有的服务流程。\n \n真心希望您能留下来,继续享受银河港生活为您提供的精彩服务。", "取消", "坚持注销") {
if true {
let arrData = [1,2]
let i = arrData[10]
if i == 100 {
}
return
}
self.unRegisterAPPOp()
}
}
......@@ -270,19 +262,6 @@ extension YHMySettingViewController : UITableViewDelegate, UITableViewDataSource
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
#if DEBUG
YHHUD.flash(message: "DEBUG", duration: 2.0)
#elseif TESTENV
YHHUD.flash(message: "TESTNEV", duration: 2.0)
#elseif UATENV
YHHUD.flash(message: "UATENV", duration: 2.0)
#else
YHHUD.flash(message: "RELEASE", duration: 2.0)
#endif
if 0 <= indexPath.row && indexPath.row < items.count {
let item = items[indexPath.row]
......
......@@ -274,19 +274,6 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
#if DEBUG
YHHUD.flash(message: "DEBUG", duration: 2.0)
#elseif TESTENV
YHHUD.flash(message: "TESTNEV", duration: 2.0)
#elseif UATENV
YHHUD.flash(message: "UATENV", duration: 2.0)
#else
YHHUD.flash(message: "RELEASE", duration: 2.0)
#endif
if (indexPath.row >= items.count) { return }
if !checkLogin() {
......
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