1234567891011121314151617181920212223242526272829 |
- <?php
- namespace app\api\controller;
- use think\facade\Request;
- use app\api\service\Payment as PaymentService;
- class Payment extends Base {
-
- public function index(){
- try {
- return $this->returnAjax("ok",1,PaymentService::getList(Request::param()));
- }catch (\Exception $ex){
- return $this->returnAjax($ex->getMessage(),$ex->getCode());
- }
- }
- }
|