|
|
@@ -19,7 +19,7 @@ class GoodsDetailViewController: BaseViewController {
|
|
|
// MARK: - 属性列表
|
|
|
/// 商品名称
|
|
|
@IBOutlet weak var goodsName: UILabel!
|
|
|
- /// 商品代码
|
|
|
+ /// 商品编号
|
|
|
@IBOutlet weak var goodsCode: UILabel!
|
|
|
/// 媒体视图
|
|
|
@IBOutlet weak var videoView: UIView!
|
|
|
@@ -257,8 +257,8 @@ class GoodsDetailViewController: BaseViewController {
|
|
|
guard let obj = detail else { return }
|
|
|
/// 商品名称
|
|
|
goodsName.text = obj.goodsname
|
|
|
- /// 商品代码
|
|
|
- goodsCode.attributedText = ("商品代码 ".withTextColor(UIColorFromHex(rgbValue: 0x999999))+obj.goodscode.withTextColor(UIColorFromHex(rgbValue: 0x333333))).withFont(.font_13)
|
|
|
+ /// 商品编号
|
|
|
+ goodsCode.attributedText = ("商品编号 ".withTextColor(UIColorFromHex(rgbValue: 0x999999))+obj.goodscode.withTextColor(UIColorFromHex(rgbValue: 0x333333))).withFont(.font_13)
|
|
|
/// 供应商
|
|
|
vendorname.attributedText = ("供 应 商 ".withTextColor(UIColorFromHex(rgbValue: 0x999999)) + obj.vendorname.withTextColor(UIColorFromHex(rgbValue: 0x333333))).withFont(.font_13)
|
|
|
/// 价格视图
|
|
|
@@ -461,7 +461,7 @@ class GoodsDetailViewController: BaseViewController {
|
|
|
}
|
|
|
|
|
|
/// 添加用户藏品数据信息请求接口
|
|
|
- /// - Parameter goodsID: 商品代码
|
|
|
+ /// - Parameter goodsID: 商品编号
|
|
|
fileprivate func AddUserFavoriteGoods(_ goodsID: Int) {
|
|
|
/// 异常
|
|
|
guard let goodsManager = MTP2BusinessCore.shared.goodsManager else { return }
|
|
|
@@ -475,7 +475,7 @@ class GoodsDetailViewController: BaseViewController {
|
|
|
}
|
|
|
|
|
|
/// 移出用户藏品数据信息请求接口
|
|
|
- /// - Parameter goodsID: 商品代码
|
|
|
+ /// - Parameter goodsID: 商品编号
|
|
|
fileprivate func removeUserFavoriteGoods(_ goodsID: Int) {
|
|
|
/// 异常
|
|
|
guard let goodsManager = MTP2BusinessCore.shared.goodsManager else { return }
|