Commit d0a801d1 authored by lujunye's avatar lujunye

阿斯顿发送到发1112

parent f18d46f3
...@@ -4931,7 +4931,7 @@ ...@@ -4931,7 +4931,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO;
CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements; CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5.7; CURRENT_PROJECT_VERSION = 5.6;
DEFINES_MODULE = NO; DEFINES_MODULE = NO;
DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\"";
DEVELOPMENT_TEAM = K48346UACH; DEVELOPMENT_TEAM = K48346UACH;
...@@ -5072,7 +5072,7 @@ ...@@ -5072,7 +5072,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO;
CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements; CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5.7; CURRENT_PROJECT_VERSION = 5.6;
DEFINES_MODULE = NO; DEFINES_MODULE = NO;
DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\"";
DEVELOPMENT_TEAM = K48346UACH; DEVELOPMENT_TEAM = K48346UACH;
......
...@@ -27,10 +27,10 @@ let systemVersion = (UIDevice.current.systemVersion as String) ...@@ -27,10 +27,10 @@ let systemVersion = (UIDevice.current.systemVersion as String)
//接口地址 //接口地址
//test //test
//let SERVERCE_ImageHost = "https://z.gelifood.com/" let SERVERCE_ImageHost = "https://z.gelifood.com/"
//let SERVERCE_HOST = "https://z.gelifood.com/admin/" let SERVERCE_HOST = "https://z.gelifood.com/admin/"
let SERVERCE_ImageHost = "https://zx.gelifood.com/" //let SERVERCE_ImageHost = "https://zx.gelifood.com/"
let SERVERCE_HOST = "https://zx.gelifood.com/admin/" //let SERVERCE_HOST = "https://zx.gelifood.com/admin/"
////online ////online
//视图常量 //视图常量
......
...@@ -20,9 +20,19 @@ class PPH_YDXQ_VC: BaseViewController,UITableViewDelegate,UITableViewDataSource ...@@ -20,9 +20,19 @@ class PPH_YDXQ_VC: BaseViewController,UITableViewDelegate,UITableViewDataSource
var wb_no = "" var wb_no = ""
@IBAction func cancel_action(_ sender: Any) { @IBAction func cancel_action(_ sender: Any) {
if btm_title_lbl.text == "取消订单" { if btm_title_lbl.text == "取消订单" {
cancelOrder(["wb_no":wb_no as Any,"user_token":userToken as Any]) { (data) in cancelOrder(["wb_no":wb_no as Any,"user_token":userToken as Any]) {[self] (data) in
HUD.hide() HUD.hide()
title_lbl_h.constant = 0
action_btn.isHidden = true
HUD.flash(.label("订单取消成功!"), onView: self.view, delay: 1.2) { (result) in
top_img = UIImage(named: "pph_cancel")
status_str = "已取消"
list_view.reloadData()
}
NotificationCenter.default.post(name: NSNotification.Name(rawValue: "logistDetail"), object: nil, userInfo: nil) NotificationCenter.default.post(name: NSNotification.Name(rawValue: "logistDetail"), object: nil, userInfo: nil)
} failture: { (err) in } failture: { (err) in
} }
......
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