1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace app\data\controller\api;
- use app\data\model\DataBidding;
- use hg\apidoc\annotation\Param;
- use hg\apidoc\annotation\Returned;
- use hg\apidoc\annotation\Title;
- use think\admin\Controller;
- use think\Request;
- /**
- * 招标
- * Class Bidding
- * @package app\data\controller\Bidding
- */
- class Bidding extends Controller
- {
- /**
- * @Title("列表")
- * @Param ("limit",desc="每页几条",default="15")
- * @Param ("page",desc="第几页",default="1")
- * @Param ("b_type",desc="披露方式0预1正式")
- * @Param ("amount_min",desc="最低价格")
- * @Param ("amount_max",desc="最高价格")
- * @Param ("type_id",desc="招标类型id")
- * @Param ("city",desc="所在地区")
- * @Param ("day_type",desc="截至时间类型,day天,month月,year年")
- * @Param ("day",desc="时间值")
- * @Returned ("title",desc="标题")
- * @Returned ("amount",desc="金额")
- * @Returned ("b_type",desc="披露方式0预1正式")
- * @Returned ("status",desc="0未中1已中标")
- * @Returned ("com_name",desc="公司名称")
- * @Returned ("com_username",desc="公司联系人")
- * @Returned ("com_mobile",desc="公司联系人手机号")
- * @Returned ("create_time",desc="发布时间")
- * @Returned ("summary",desc="概述")
- * @Returned ("files[filename]",desc="附件文件名称")
- * @Returned ("files[fileurl]",desc="附件文件url")
- */
- public function index(Request $request,DataBidding $dataBidding){
- $list=$dataBidding
- ->paginate();
- $this->success('',$list);
- }
- }
|