diff --git a/application/api/model/User.php b/application/api/model/User.php index eca260e..63f64c9 100644 --- a/application/api/model/User.php +++ b/application/api/model/User.php @@ -210,6 +210,11 @@ class User extends Model $user_info['master'] = null; } + //身价配置 + $coin_market_value = explode(',', get_system_config_value('coin_market_value'));; + $user_info['market_value_coin'] = $coin_market_value[0]; + $user_info['market_value_market'] = $coin_market_value[1]; + return ['code' => 1, 'msg' => '获取成功', 'data' => $user_info]; } @@ -436,6 +441,11 @@ class User extends Model }else{ $user_info['master'] = null; } + + //身价配置 + $coin_market_value = explode(',', get_system_config_value('coin_market_value'));; + $user_info['market_value_coin'] = $coin_market_value[0]; + $user_info['market_value_market'] = $coin_market_value[1]; return ['code' => 1, 'msg' => '获取成功', 'data' => $user_info]; }