Commit 23a0ff43 authored by 曹云霄's avatar 曹云霄

修复在商品详情无法加入购物车

parent 0f865351
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
self.customerName.text = model.name; self.customerName.text = model.name;
self.companyName.text = model.company; self.companyName.text = model.company;
self.customerPhoneNumber.text = model.mobile; self.customerPhoneNumber.text = model.mobile;
self.customerAddress.text = [BaseViewController isMunicipality:model.province withCity:model.city withCountry:model.country withDetailAddress:model.address]; self.companyLocation.text = [BaseViewController isMunicipality:model.province withCity:model.city withCountry:model.country withDetailAddress:model.address];
} }
- (void)setModel:(TOConsumerEntity *)model - (void)setModel:(TOConsumerEntity *)model
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
self.customerName.text = _model.name; self.customerName.text = _model.name;
self.companyName.text = _model.company; self.companyName.text = _model.company;
self.customerPhoneNumber.text = _model.mobile; self.customerPhoneNumber.text = _model.mobile;
self.customerAddress.text = [BaseViewController isMunicipality:model.province withCity:model.city withCountry:model.country withDetailAddress:model.address]; self.companyLocation.text = [BaseViewController isMunicipality:model.province withCity:model.city withCountry:model.country withDetailAddress:model.address];
} }
......
...@@ -382,10 +382,10 @@ ...@@ -382,10 +382,10 @@
shopCar.consumerId = [Customermanager manager].model.fid; shopCar.consumerId = [Customermanager manager].model.fid;
shopCar.goodsId = _goodsID; shopCar.goodsId = _goodsID;
shopCar.count = self.headerView.goodsNumber.text; shopCar.count = self.headerView.goodsNumber.text;
shopCar.attachmentUrl = @"";
WS(weakSelf); WS(weakSelf);
[XBLoadingView showHUDViewWithDefault]; [XBLoadingView showHUDViewWithDefault];
[HTTP networkRequestWithURL:SERVERREQUESTURL(ADDSHOPPINGBAG) withRequestType:ZERO withParameter:shopCar withReturnValueBlock:^(id returnValue) { [HTTP networkRequestWithURL:SERVERREQUESTURL(ADDSHOPPINGBAG) withRequestType:ZERO withParameter:shopCar withReturnValueBlock:^(id returnValue) {
[XBLoadingView hideHUDViewWithDefault]; [XBLoadingView hideHUDViewWithDefault];
if (RESULT(returnValue)) { if (RESULT(returnValue)) {
NSLog(@"添加购物车成功"); NSLog(@"添加购物车成功");
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<key>CFBundleName</key> <key>CFBundleName</key>
<string>欧立方</string> <string>欧立方</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>2.1.13</string> <string>2.1.8</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<key>CFBundleName</key> <key>CFBundleName</key>
<string>欧立方</string> <string>欧立方</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>3.0</string> <string>2.1.8</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>
...@@ -47,8 +47,6 @@ ...@@ -47,8 +47,6 @@
</array> </array>
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key>
<string>5</string>
<key>LSApplicationQueriesSchemes</key> <key>LSApplicationQueriesSchemes</key>
<array> <array>
<string>wechat</string> <string>wechat</string>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<key>CFBundleName</key> <key>CFBundleName</key>
<string>欧立方</string> <string>欧立方</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>3.0</string> <string>2.1.9</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>
...@@ -47,8 +47,6 @@ ...@@ -47,8 +47,6 @@
</array> </array>
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key>
<string>5</string>
<key>LSApplicationQueriesSchemes</key> <key>LSApplicationQueriesSchemes</key>
<array> <array>
<string>wechat</string> <string>wechat</string>
......
...@@ -5,32 +5,32 @@ ...@@ -5,32 +5,32 @@
<testcase classname="fastlane.lanes" name="0: Verifying required fastlane version" time="0.0025"> <testcase classname="fastlane.lanes" name="0: Verifying required fastlane version" time="0.002304">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="1: default_platform" time="0.001971"> <testcase classname="fastlane.lanes" name="1: default_platform" time="0.005053">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="2: cocoapods" time="15.183434"> <testcase classname="fastlane.lanes" name="2: cocoapods" time="11.410097">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="3: increment_version_number" time="4.176182"> <testcase classname="fastlane.lanes" name="3: increment_version_number" time="3.247682">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="4: gym" time="156.815067"> <testcase classname="fastlane.lanes" name="4: gym" time="149.773087">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="5: pgyer" time="70.513265"> <testcase classname="fastlane.lanes" name="5: pgyer" time="186.11317">
</testcase> </testcase>
......
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