cyzhao 4 years ago
parent
commit
53cd67e3f0

+ 1 - 1
Gameserver/Amfphp/configs/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-06-24 17:54:10
+ // 日期: 2021-06-25 10:37:48
 ////////////////////
 namespace loyalsoft;
 /**

+ 1 - 1
Gameserver/Amfphp/model/Const/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-06-24 17:54:10
+ // 日期: 2021-06-25 10:37:48
 ////////////////////
 
 /**

+ 1 - 1
Gameserver/Amfphp/model/Const/globalsettings.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-06-21 18:09:21
+ // 日期: 2021-06-25 10:34:04
 ////////////////////
 
 

+ 6 - 4
Gameserver/Amfphp/process/AuctionProc.php

@@ -120,11 +120,13 @@ class AuctionProc {
         EmailProc::SendCantSellAuctionItemsMail(req()->zoneid, req()->uid, $ctxList[0],$ctxList[1]);
         
         self::updateAuctionItemState($aucItem);
-        $obj = self::updateAuctionUserItemListCache();
-                    
+        self::updateAuctionUserItemListCache();
+                 
+        $dic = self::getMyAuctionItems();#上架信息
+        
         UserProc::updateUserInfo();                                             # 回写玩家数据
         return Resp::ok(array(
-                    "auction" => $obj->data,
+                    "auction" => $dic,
         ));
     }
 
@@ -296,7 +298,7 @@ class AuctionProc {
         $zoneid = req()->zoneid;
         $uid = req()->uid;
         $db = daoInst();
-        $sql = "select * from tab_auctionitems where zoneid=$zoneid and sellerid = '$uid' and datediff(from_unixtime($ts),from_unixtime(startts))<=7";
+        $sql = "select * from tab_auctionitems where zoneid=$zoneid and sellerid = '$uid'";
         $result = $db->query($sql)->fetchAll();
        
         return $result;