Showing
1 changed file
with
2 additions
and
3 deletions
| @@ -316,11 +316,10 @@ class Auth extends Common | @@ -316,11 +316,10 @@ class Auth extends Common | ||
| 316 | $list= file_get_contents(ON_LINE.'App.User.GetOperateList'); | 316 | $list= file_get_contents(ON_LINE.'App.User.GetOperateList'); |
| 317 | $array = json_decode($list,TRUE); | 317 | $array = json_decode($list,TRUE); |
| 318 | foreach ($array['data'] as $key=>$val){ | 318 | foreach ($array['data'] as $key=>$val){ |
| 319 | - if($val['status']==1){ | 319 | + if($val['status']==1) |
| 320 | $array['data'][$key]['status'] = "运营人员"; | 320 | $array['data'][$key]['status'] = "运营人员"; |
| 321 | - }else if($val['status']==2){ | 321 | + else |
| 322 | $array['data'][$key]['status'] = "代理商"; | 322 | $array['data'][$key]['status'] = "代理商"; |
| 323 | - } | ||
| 324 | $array['data'][$key]['cdate'] = date("Y-m-d H:i:s",$val['cdate']); | 323 | $array['data'][$key]['cdate'] = date("Y-m-d H:i:s",$val['cdate']); |
| 325 | } | 324 | } |
| 326 | if($array['ret']==200){ | 325 | if($array['ret']==200){ |
-
Please register or login to post a comment