优化代码

master
chenzhi 4 years ago
parent 844a6d501e
commit bb2656f207

@ -99,7 +99,7 @@ class TransferMerchantController extends ThinkController
}
$this->TransferMerchant->save($idsave);
//修改之前的
if($info['ways'] == 3){
if($info['ways'] > $ways){
$infosave = [
'id'=>$info['id'],
'ways'=>$info['ways']-$ways

Loading…
Cancel
Save