UserRecharge.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. namespace app\controller\admin\v1\finance;
  12. use app\common\controller\Recharge;
  13. use app\controller\admin\AuthController;
  14. use app\services\user\UserRechargeServices;
  15. use think\facade\App;
  16. /**
  17. * Class UserRecharge
  18. * @package app\controller\admin\v1\finance
  19. */
  20. class UserRecharge extends AuthController
  21. {
  22. use Recharge;
  23. /**
  24. * UserRecharge constructor.
  25. * @param App $app
  26. * @param UserRechargeServices $services
  27. */
  28. public function __construct(App $app, UserRechargeServices $services)
  29. {
  30. parent::__construct($app);
  31. $this->services = $services;
  32. }
  33. }