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.
50 lines
2.6 KiB
50 lines
2.6 KiB
<?php |
|
// ========================================== |
|
// 系统内置路由 |
|
// ========================================== |
|
|
|
use think\facade\Route; |
|
|
|
// ----------- 自助获取表信息 -------------- |
|
|
|
// 获取表信息 |
|
Route::get('sc-table', 'Common/getTable'); /** @see \app\api\controller\Common::getTable() */ |
|
// 获取字段信息 |
|
Route::get('sc-field-info', 'Common/getFieldInfo'); /** @see \app\api\controller\Common::getFieldInfo() */ |
|
// 获取数据 |
|
Route::get('sc-data', 'Common/getData'); /** @see \app\api\controller\Common::getData() */ |
|
//登录注册 |
|
Route::post('login', 'Login/login'); /** 获取招标列表 @see \app\api\controller\Login::login() */ |
|
Route::post('registered', 'Login/registered'); /** 获取招标列表 @see \app\api\controller\Login::registered() */ |
|
//首页 |
|
Route::get('biding-list', 'Index/getBidingList'); /** 获取招标列表 @see \app\api\controller\Index::getBidingList() */ |
|
Route::get('biding-details', 'Index/getBidingDetails'); /** 招标详情 @see \app\api\controller\Index::getBidingDetails() */ |
|
Route::get('download', 'Index/download'); /** 文件下载 @see \app\api\controller\Index::download() */ |
|
//关注 |
|
Route::get('attention', 'Index/attention'); /** 关注招标 @see \app\api\controller\Index::attention() */ |
|
Route::get('cancel-attention', 'Index/cancelAttention'); /** 取消关注招标 @see \app\api\controller\Index::cancelAttention() */ |
|
//个人中心 |
|
Route::get('member', 'Member/getMember'); /** 个人资料 @see \app\api\controller\Member::getMember() */ |
|
Route::post('up-my-info', 'Member/UpMyInfo'); /** 个人资料 @see \app\api\controller\Member::UpMyInfo() */ |
|
Route::get('my-collect', 'Member/getMyCollectList'); /** 我的项目 @see \app\api\controller\Member::getMyCollectList() */ |
|
Route::get('my-notice', 'Member/getMyNotice'); /** 我的消息 @see \app\api\controller\Member::getMyNotice() */ |
|
Route::post('up-password', 'Member/editPassword'); /** 修改密码 @see \app\api\controller\Member::editPassword() */ |
|
Route::post('verify-security', 'Member/verifySecurity'); /** 验证密保 @see \app\api\controller\Member::verifySecurity() */ |
|
|
|
Route::post('upload-image', 'app\\SystemUpload@imageUpload');/** @see \app\SystemUpload::imageUpload() */ |
|
//上传 |
|
Route::post('upload-file', 'app\\SystemUpload@fileUpload'); /** 个人资料 @see \app\api\controller\Index::uploadImage() */ |
|
//投标 |
|
Route::post('tender', 'Index/tender');/** @see \app\api\controller\Index::tender()*/ |
|
//banner |
|
Route::get('banner', 'Index/banner');/** @see \app\api\controller\Index::banner()*/ |
|
//banner |
|
Route::get('auto-bidding', 'Index/auto');/** @see \app\api\controller\Index::auto()*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|