爵位bug修改
This commit is contained in:
@@ -326,6 +326,9 @@ class Nobility extends Model
|
||||
->where('delete_time', 0)
|
||||
->where('id', 'in', $power_ids)
|
||||
->select();
|
||||
if(ceil($price) <= 0){
|
||||
return ['code' => 0, 'msg' => "当前权限暂时无法购买此爵位,请升级更高爵位", 'data' => null];
|
||||
}
|
||||
$return = [
|
||||
'lid' => $nobility_info['lid'],
|
||||
'nobility_name' => $nobility_info['name'],
|
||||
|
||||
Reference in New Issue
Block a user