You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
804 B
31 lines
804 B
<?php
|
|
|
|
namespace app\api\controller;
|
|
|
|
use app\common\controller\Api;
|
|
use app\admin\model\shop\Type as TypeModel;
|
|
use app\admin\model\Shop as ShopModel;
|
|
use app\admin\model\Group as GroupModel;
|
|
class Venue extends Api{
|
|
|
|
protected $model = null;
|
|
|
|
protected $noNeedRight = '*';
|
|
protected $noNeedLogin = [];
|
|
|
|
|
|
|
|
public function _initialize(){
|
|
parent::_initialize();
|
|
$this->model = new \app\admin\model\Venue;
|
|
}
|
|
public function getvenuedetail(){
|
|
if($this->request->post()){
|
|
$data = $this->request->post();
|
|
$uid = isset($data['token'])&&!empty($data['token'])?$this->auth->id:0 ;
|
|
$return = $this->model->getvenuedetail($data['id'],$uid);
|
|
// $return['pay_time'] = date("Y-m-d H:i:s",$return['pay_time']);
|
|
return $this->success('获取成功',$return);
|
|
}
|
|
}
|
|
} |