Commit 4108a232 authored by lujunye's avatar lujunye

1.5.2上架版本

parent 605db812
/* /*
shareSDK账号&密码 shareSDK账号&密码
17322010717 17322010717
gelifood81338860 gelifood81338860
融云账号&融云密码 融云账号&融云密码
18924107259 18924107259
81338860geLI 81338860geLI
苹果账号&密码 苹果账号&密码
notice@gelifood.com notice@gelifood.com
81338860^geLi 81338860^geLi
极光密码 极光密码
GeliFood GeliFood
81338860geLI 81338860geLI
微信开发平台 微信开发平台
GELIFOOD123@126.com GELIFOOD123@126.com
81338860geli 81338860geli
微信分享 id & secret 微信分享 id & secret
wx26b371b279064098 wx26b371b279064098
55343eb2b2c2329860ad8545715ae9f3 55343eb2b2c2329860ad8545715ae9f3
测试账号&密码 测试账号&密码
Liangyuepf Liangyuepf
zxcvbnm zxcvbnm
*/ */
import UIKit import UIKit
......
...@@ -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
//视图常量 //视图常量
......
...@@ -191,10 +191,16 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc ...@@ -191,10 +191,16 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
if rowModel.cus_name != nil { if rowModel.cus_name != nil {
cell.nameLbl.text = rowModel.cus_name! cell.nameLbl.text = rowModel.cus_name!
}else{ }else{
cell.nameLbl.text = rowModel.user_name! if rowModel.user_name != nil {
cell.nameLbl.text = rowModel.user_name!
}
} }
cell.orderNumerLbl.text = rowModel.order_sn! cell.orderNumerLbl.text = rowModel.order_sn!
if rowModel.order_status != nil && rowModel.order_status_d != nil && rowModel.goods_before_pay != nil {
cell.statusLbl.text = orderStatusStrByInt(statusNumber: rowModel.order_status!, status_d: rowModel.order_status_d!, isBfPay: rowModel.goods_before_pay!, LmIdx: orderStatus) cell.statusLbl.text = orderStatusStrByInt(statusNumber: rowModel.order_status!, status_d: rowModel.order_status_d!, isBfPay: rowModel.goods_before_pay!, LmIdx: orderStatus)
}
cell.countLbl.text = "\(rowModel.goods_number!)" cell.countLbl.text = "\(rowModel.goods_number!)"
cell.priceLbl.text = rowModel.sum_amount cell.priceLbl.text = rowModel.sum_amount
cell.timeLbl.text = TimeByDouble(sender: rowModel.add_time!) cell.timeLbl.text = TimeByDouble(sender: rowModel.add_time!)
......
...@@ -1112,8 +1112,10 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa ...@@ -1112,8 +1112,10 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
let view1 = TitleAndLblView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 49)) let view1 = TitleAndLblView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 49))
view1.nameLbl.text = "订单状态" view1.nameLbl.text = "订单状态"
//订单状态 //订单状态
view1.contentLbl.text = orderStatusStrByInt(statusNumber: (self.dataMdoel?.order_res?.order_status)!, status_d: (self.dataMdoel?.order_res?.order_status_d)!, isBfPay:(self.dataMdoel?.order_res!.goods_before_pay)! , LmIdx: lmIdx) if self.dataMdoel?.order_res?.order_status != nil && self.dataMdoel?.order_res?.order_status_d != nil && self.dataMdoel?.order_res!.goods_before_pay != nil {
view.addSubview(view1) view1.contentLbl.text = orderStatusStrByInt(statusNumber: (self.dataMdoel?.order_res?.order_status)!, status_d: (self.dataMdoel?.order_res?.order_status_d)!, isBfPay:(self.dataMdoel?.order_res!.goods_before_pay)! , LmIdx: lmIdx)
view.addSubview(view1)
}
return view return view
case 3: case 3:
let view1 = HeaderOnlyTitleView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 39)) let view1 = HeaderOnlyTitleView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 39))
......
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