AccountLogController.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | likeadmin快速开发前后端分离管理后台(PHP版)
  4. // +----------------------------------------------------------------------
  5. // | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
  6. // | 开源版本可自由商用,可去除界面版权logo
  7. // | gitee下载:https://gitee.com/likeshop_gitee/likeadmin
  8. // | github下载:https://github.com/likeshop-github/likeadmin
  9. // | 访问官网:https://www.likeadmin.cn
  10. // | likeadmin团队 版权所有 拥有最终解释权
  11. // +----------------------------------------------------------------------
  12. // | author: likeadminTeam
  13. // +----------------------------------------------------------------------
  14. namespace app\adminapi\controller\finance;
  15. use app\adminapi\controller\BaseAdminController;
  16. use app\adminapi\lists\finance\AccountLogLists;
  17. use app\common\enum\user\AccountLogEnum;
  18. /***
  19. * 账户流水控制器
  20. * Class AccountLogController
  21. * @package app\adminapi\controller
  22. */
  23. class AccountLogController extends BaseAdminController
  24. {
  25. /**
  26. * @notes 账户流水明细
  27. * @return \think\response\Json
  28. * @author 段誉
  29. * @date 2023/2/24 15:25
  30. */
  31. public function lists()
  32. {
  33. return $this->dataLists(new AccountLogLists());
  34. }
  35. /**
  36. * @notes 用户余额变动类型
  37. * @return \think\response\Json
  38. * @author 段誉
  39. * @date 2023/2/24 15:25
  40. */
  41. public function getUmChangeType()
  42. {
  43. return $this->data(AccountLogEnum::getUserMoneyChangeTypeDesc());
  44. }
  45. }