|
|
@@ -15,13 +15,9 @@ class StatYjController extends BaseController
|
|
|
{
|
|
|
ini_set('memory_limit', '2045M');
|
|
|
set_time_limit(0);
|
|
|
-
|
|
|
$mainId = $this->mainId;
|
|
|
- $respond = StatYjClass::profile($mainId);
|
|
|
- $income = $respond['income'] ?? 0;
|
|
|
- $expend = $respond['expend'] ?? 0;
|
|
|
- $balance = $respond['balance'] ?? 0;
|
|
|
- util::success(['income' => $income, 'expend' => $expend, 'balance' => floatval($balance)]);
|
|
|
+ $profile = StatYjClass::profile($mainId);
|
|
|
+ util::success(['profile' => $profile]);
|
|
|
}
|
|
|
|
|
|
//员工业绩 ssh 2021.3.15
|