Cang.php 616 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace app\master\controller;
  3. use app\master\logic\Cang as Logic;
  4. use think\Config;
  5. class Cang extends Base
  6. {
  7. public function getCangRepayList() {
  8. $function = __FUNCTION__;
  9. return json($this->logic->$function());
  10. }
  11. public function getCangList() {
  12. $function = __FUNCTION__;
  13. return json($this->logic->$function());
  14. }
  15. public function actionRepay() {
  16. $function = __FUNCTION__;
  17. return json($this->logic->$function());
  18. }
  19. public $logic;
  20. public function __initialize() {
  21. $this->logic = new Logic($this->request);
  22. }
  23. }