UserAppIcon.php 775 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace app\api\controller\v1;
  3. use app\api\controller\Base;
  4. use app\hander\HelpHander;
  5. class UserAppIcon extends Base
  6. {
  7. public function queryAppIconList(){
  8. $ret = model('UserAppIcon')->queryAppIconList($this->userId,$this->orgId);
  9. HelpHander::success($ret);
  10. }
  11. public function queryAppIconListNew(){
  12. $ret = model('UserAppIcon')->queryAppIconListNew($this->userId,$this->orgId);
  13. HelpHander::success($ret);
  14. }
  15. // APP修改常用功能icon列表
  16. public function updateAppIcon(){
  17. $iconId = input('iconId/d',0);
  18. $operation = input('operation/d',0);
  19. model('UserAppIcon')->updateAppIcon($iconId,$operation,$this->userId,$this->orgId);
  20. HelpHander::success([],'操作成功');
  21. }
  22. }