Browse Source

feat:域名替换、首页币种刷新

“wangdongchao” 1 year ago
parent
commit
869e470d6e

+ 2 - 0
Asteria/Fuction/Home/Views/ASHomeBestSellCell.m

@@ -32,6 +32,8 @@
         make.top.equalTo(self.titleLb.mas_bottom).offset(20);
     }];
     
+    [self.collectV reloadData];
+    
 }
 
 - (void)moreBtAction:(UIButton *)bt {

+ 1 - 1
Asteria/Fuction/Home/vm/ASHomeViewModel.m

@@ -44,7 +44,7 @@
 
 -(void)getHomeListData:(btnClickBlock)success {
     __weak typeof(self) weakSelf = self;
-    [ASNetTools.shared getMsgWithPath:HomeList param:@{@"currency_code":ASCurrencyManager.shared.currentCur} success:^(id _Nonnull json) {
+    [ASNetTools.shared getMsgWithPath:HomeList param:@{} success:^(id _Nonnull json) {
         NSLog(@"------url:%@---json:%@------", HomeList, json);
         NSMutableArray *arr = [ASHomeMainListModel mj_objectArrayWithKeyValuesArray:json];
         weakSelf.listData = arr;

+ 1 - 1
Asteria/NetTools/ASNetApis.h

@@ -20,7 +20,7 @@
 
 // MARK: - host
 #if (DEBUG)
-#define HostPath @"www.bilisar.com"  //测试
+#define HostPath @"iostest.bilisar.com"  //测试
 #define MsgHostPath @"message.bilisar.com"
 //#define HostPath @"pc.bilisar.com"  //正式
 #else