123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace app\admin\controller\order;
- use app\admin\controller\Auth;
- use think\facade\Request;
- use mall\response\Response;
- use think\facade\View;
- use app\admin\service\order\Refundment as RefundmentService;
- class Refundment extends Auth {
-
- public function index(){
- if(Request::isAjax()){
- $list = RefundmentService::getList(Request::param());
- return Response::returnArray("ok",0,$list['data'],$list['count']);
- }
-
- return View::fetch();
- }
-
- public function detail(){
- try{
- return View::fetch("",RefundmentService::detail(Request::param("id")));
- }catch (\Exception $ex){
- $this->error($ex->getMessage());
- }
- }
-
- }
|