1
This commit is contained in:
parent
5fb5e5372e
commit
ba05e4cf08
@ -219,6 +219,11 @@ class QuestController{
|
|||||||
}
|
}
|
||||||
$item_list = array();
|
$item_list = array();
|
||||||
$addreward = new classes\AddReward();
|
$addreward = new classes\AddReward();
|
||||||
|
$all_item_list = array();
|
||||||
|
if ($row['quest_state'] != 1) {
|
||||||
|
phpcommon\sendError(ERR_USER_BASE + 3, '任务未完成');
|
||||||
|
return;
|
||||||
|
}
|
||||||
if ($row['quest_state'] == 1) {
|
if ($row['quest_state'] == 1) {
|
||||||
$ret = $conn->execScript('UPDATE quest SET quest_state=:quest_state, modify_time=:modify_time ' .
|
$ret = $conn->execScript('UPDATE quest SET quest_state=:quest_state, modify_time=:modify_time ' .
|
||||||
' WHERE accountid=:accountid AND quest_id =:quest_id AND quest_type=:quest_type;',
|
' WHERE accountid=:accountid AND quest_id =:quest_id AND quest_type=:quest_type;',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user