1
This commit is contained in:
parent
35c9fd09fe
commit
8981641974
@ -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;',
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user