This commit is contained in:
wangwei01 2019-07-12 19:14:51 +08:00
parent 2a701b3fef
commit 0c5d3c7d36

View File

@ -312,6 +312,10 @@ class TankController{
':accountid' => $account_id,
':tank_id' => $exchangetank_id,
));
if (!$row_exchange) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个皮肤');
return;
}
$exchange_ret = $conn->execScript('UPDATE tank SET tank_status=0, modify_time=:modify_time ' .
' WHERE accountid = :account_id AND tank_id = :tank_id;',
array(