Przeglądaj źródła

Wesmiler 人人车 初始化项目 0816

APPLE 3 lat temu
rodzic
commit
8f3c076858
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      application/api/controller/v1/taxiUser/User.php

+ 1 - 0
application/api/controller/v1/taxiUser/User.php

@@ -50,6 +50,7 @@ class User extends ApiController
 
         $type = isset($params['type'])? $params['type'] : 1;
         if($type == 2){
+            $taxiUser['level_name'] = $taxiUser['level']? TaxiUsersLevel::where(['level'=>$taxiUser['level']])->value('title') : '';
             $counts = [
                 'day_income'=> '0.00',
                 'total_income'=> '0.00',