12345678910111213141516171819202122232425262728 |
- <?php
- namespace app\api\controller;
- use app\api\controller\mall\Orders;
- use app\common\controller\Api;
- /**
- * 发票接口
- */
- class UserTax extends Api
- {
- protected $noNeedRight='*';
- /**
- * 发票列表
- * @ApiParams (name=page,dexcription=分页)
- * @ApiParams (name=limit,dexcription=分页)
- */
- public function list(){
- /*$user=$this->auth->getUser();
- $tax=$user->tax()
- ->order('id','desc')
- ->paginate(input('limit',15));*/
- $tax=new Orders;
- $tax->taxApi=true;
- $tax->users();
- //$this->success('',$tax);
- }
- }
|