Commit 6ab7dcc4 authored by David黄金龙's avatar David黄金龙

删除 测试代码

parent 89f20dc4
......@@ -409,30 +409,30 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
self.navigationController?.pushViewController(vc)
case .myOrder:
//我的订单
// if let token = YHLoginManager.shared.userModel?.token,token.count > 5 {
// var url = YHBaseUrlManager.shared.curH5URL() + "superAppBridge.html#/order/my"
// url = "?param=" + YHLoginManager.shared.h5Token
// printLog("URL: \(url)")
// let vc = YHH5WebViewVC()
// vc.url = url
// vc.isFullScreenFlag = false
// vc.navTitle = "我的订单"
// vc.isSupportWebviewInterBackFlag = true
// UIViewController.current?.navigationController?.pushViewController(vc)
// }
let view = YHRangeDatePickerSheetView2.sheetView()
view.minDateStr = "2024-11-01"
view.maxDateStr = "2024-11-19"
view.viewTitle = "Demo"
view.block = {
[weak self] (startDate,time) in
guard self != nil else { return }
printLog("开始时间: \(startDate)")
printLog("结束时间: \(time)")
if let token = YHLoginManager.shared.userModel?.token,token.count > 5 {
var url = YHBaseUrlManager.shared.curH5URL() + "superAppBridge.html#/order/my"
url = "?param=" + YHLoginManager.shared.h5Token
printLog("URL: \(url)")
let vc = YHH5WebViewVC()
vc.url = url
vc.isFullScreenFlag = false
vc.navTitle = "我的订单"
vc.isSupportWebviewInterBackFlag = true
UIViewController.current?.navigationController?.pushViewController(vc)
}
view.show()//for test hjl
// let view = YHRangeDatePickerSheetView2.sheetView()
// view.minDateStr = "2024-11-01"
// view.maxDateStr = "2024-11-19"
// view.viewTitle = "Demo"
// view.block = {
// [weak self] (startDate,time) in
// guard self != nil else { return }
//
// printLog("开始时间: \(startDate)")
// printLog("结束时间: \(time)")
// }
// view.show()//for test hjl
default:
printLog("不需要响应")
}
......
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