diff --git a/webapp/controller/ShareController.class.php b/webapp/controller/ShareController.class.php index 0fd546a..e8bf605 100644 --- a/webapp/controller/ShareController.class.php +++ b/webapp/controller/ShareController.class.php @@ -232,7 +232,6 @@ class ShareController{ if (count($rows) == 0) { $share_meta_table = require('../res/share@share.php'); for ($i = 1; $i <= count($share_meta_table); $i++) { - error_log($i); $ret = $conn->execScript('INSERT INTO share_achievement(accountid, ach_id, status, create_time, modify_time) ' . ' VALUES(:account_id, :ach_id, :status, :create_time, :modify_time) ' . ' ON DUPLICATE KEY UPDATE accountid=:account_id, ach_id=:ach_id, status=:status, modify_time=:modify_time;', diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 9b9140d..be53dd8 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -243,7 +243,7 @@ class ShopController{ ' WHERE accountid=:accountid;', array( ':accountid' => $account_id, - ':coin_num' => $row['shop_flush_times'] + 1, + ':shop_flush_times' => $row['shop_flush_times'] + 1, ':modify_time' => time() )); if (!$ret) {