Skip to content

Commit

Permalink
修改账号列表显示字段
Browse files Browse the repository at this point in the history
  • Loading branch information
idoubi committed May 27, 2018
1 parent 2c8dfa4 commit a8525ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions App/Mp/Controller/MpController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ public function lists() {
->setModel('mp')
->setListMap(array('user_id'=>get_user_id(),'mp_type'=>$this->mp_type))
->setListOrder('create_time desc')
->addListItem('id', 'ID')
->addListItem('name', '账号名称')
->addListItem('appid', 'Appid')
->addListItem('mp_type', '账号类别', 'hidden')
->addListItem('type', '账号类型', $this->mp_type == 1 ? 'enum' : 'hidden', array('options'=>array(1=>'普通订阅号',2=>'认证订阅号',3=>'普通服务号',4=>'认证服务号',5=>'测试号')))
->addListItem('status', '状态', 'enum', array('options'=>array(0=>'禁用',1=>'正常',2=>'审核中')))
Expand Down

0 comments on commit a8525ca

Please sign in to comment.