出价涨身价

This commit is contained in:
2025-11-28 15:30:55 +08:00
parent bf05496a17
commit 23931f7afc

View File

@@ -17,7 +17,7 @@ class MarketValue extends Model
public function change($user_id,$change_value,$type){
//判断是否为整数
if(!is_int($change_value)){
return ['code' => 0, 'msg' => '身价变化参数错误'];
return ['code' => 0, 'msg' => '身价变化参数错误=》'.$change_value];
}
$before = db::name('user')->where('id',$user_id)->value('market_value');
if($type == 0){