is_persist 实际扣道具
This commit is contained in:
parent
98ee92c347
commit
43feb77029
@ -60,7 +60,11 @@ class BagController extends BaseAuthedController {
|
||||
$this->_rspErr(3, $this->_getLackItemErrMsg($lackItem));
|
||||
return;
|
||||
}
|
||||
$this->_decItems($costItems);
|
||||
|
||||
$isPersist = getReqVal('is_persist', 0);
|
||||
if ($isPersist == 1) {
|
||||
$this->_decItems($costItems);
|
||||
}
|
||||
$this->_rspOk();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user