12345678910111213141516171819202122232425262728 |
- <?php
- namespace app\api\controller\v1;
- use app\api\controller\Base;
- use app\hander\HelpHander;
- class UserAppIcon extends Base
- {
- public function queryAppIconList(){
- $ret = model('UserAppIcon')->queryAppIconList($this->userId,$this->orgId);
- HelpHander::success($ret);
- }
- public function queryAppIconListNew(){
- $ret = model('UserAppIcon')->queryAppIconListNew($this->userId,$this->orgId);
- HelpHander::success($ret);
- }
- // APP修改常用功能icon列表
- public function updateAppIcon(){
- $iconId = input('iconId/d',0);
- $operation = input('operation/d',0);
- model('UserAppIcon')->updateAppIcon($iconId,$operation,$this->userId,$this->orgId);
- HelpHander::success([],'操作成功');
- }
- }
|