Withdraw.php 881 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com
  8. * =========================================================
  9. */
  10. namespace addon\memberwithdraw\shop\controller;
  11. use addon\memberwithdraw\model\Withdraw as WithdrawModel;
  12. use app\shop\controller\BaseShop;
  13. /**
  14. * 会员提现
  15. */
  16. class Withdraw extends BaseShop
  17. {
  18. /**
  19. * 转账
  20. */
  21. public function transfer()
  22. {
  23. if (request()->isAjax()) {
  24. $id = input('id', 0);
  25. $withdraw_model = new WithdrawModel();
  26. $result = $withdraw_model->transfer($id);
  27. return $result;
  28. }
  29. }
  30. }