2023-01-19 02:36:01 +00:00

112 lines
4.5 KiB
PHP

<?php
use think\facade\Route;
Route::group('party',function () {
Route::group('article',function () {
Route::get('index', 'party.article/index');
Route::get('details', 'party.article/details');
Route::post('post', 'party.article/post');
Route::get('edit', 'party.article/edit');
Route::post('put', 'party.article/put');
Route::get('del', 'party.article/delete');
});
Route::group('branch',function () {
Route::get('index', 'party.branch/index');
Route::get('info_list', 'party.branch/info_list');
Route::get('info', 'party.branch/info');
Route::post('info_save', 'party.branch/info_save');
Route::post('post', 'party.branch/post');
Route::get('edit', 'party.branch/edit');
Route::post('put', 'party.branch/put');
Route::get('del', 'party.branch/delete');
});
Route::group('branch_pay_list',function () {
Route::get('index', 'party.BranchPayList/index');
Route::get('branch_pay_list', 'party.BranchPayList/branch_pay_list');
Route::post('post', 'party.BranchPayList/post');
Route::get('edit', 'party.BranchPayList/edit');
Route::post('put', 'party.BranchPayList/put');
Route::get('del', 'party.BranchPayList/delete');
});
Route::group('branch_pay_user',function () {
Route::get('index', 'party.BranchPayUser/index');
Route::get('add', 'party.BranchPayUser/add');
Route::post('post', 'party.BranchPayUser/post');
Route::get('edit', 'party.BranchPayUser/edit');
Route::post('put', 'party.BranchPayUser/put');
Route::get('del', 'party.BranchPayUser/delete');
});
Route::group('info',function () {
Route::get('index', 'party.Info/index');
Route::get('add', 'party.Info/add');
Route::post('post', 'party.Info/post');
Route::get('edit', 'party.Info/edit');
Route::post('put', 'party.Info/put');
Route::get('del', 'party.Info/delete');
});
Route::group('vote',function () {
Route::get('index', 'party.Vote/index');
Route::get('details', 'party.Vote/details');
Route::post('post', 'party.Vote/post');
Route::get('edit', 'party.Vote/edit');
Route::post('put', 'party.Vote/put');
Route::get('del', 'party.Vote/delete');
});
Route::group('vote_comment',function () {
Route::get('index', 'party.VoteComment/index');
Route::post('post', 'party.VoteComment/post');
Route::get('edit', 'party.VoteComment/edit');
Route::post('put', 'party.VoteComment/put');
Route::get('del', 'party.VoteComment/delete');
});
});
Route::group('article',function () {
Route::get('index', 'article/index');
Route::get('hot_list', 'article/hot_list');
Route::post('post', 'article/post');
Route::get('edit', 'article/edit');
Route::post('put', 'article/put');
Route::get('del', 'article/delete');
Route::get('details', 'article/details');
});
Route::group('my_article',function () {
Route::get('index', 'myArticle/index');
Route::get('details', 'myArticle/details');
});
Route::group('article_comment',function () {
Route::get('index', 'ArticleComment/index');
Route::get('one_list', 'ArticleComment/OneList');
Route::post('post', 'ArticleComment/post');
Route::get('edit', 'ArticleComment/edit');
Route::post('put', 'ArticleComment/put');
Route::get('del', 'ArticleComment/delete');
});
Route::get('wx', 'ceshi/ceshi2');
Route::post('login', 'ceshi/index');
Route::post('getopenid','ceshi/getopenid'); //获取小程序openID
Route::post('getoffopenid','ceshi/getoffopenid'); //获取公众号openid
Route::post('phone_login', 'User/mobilelogin');
Route::post('profile', 'User/profile');
Route::post('upload', 'common/upload');
Route::get('idcard', 'common/idcard');
Route::get('get_all_category', 'common/get_all_category');
Route::get('get_all_category_insurance', 'common/get_all_category_insurance');
Route::get('get_all_category_health', 'common/get_all_category_health');
Route::get('getWorkArticleCount', 'Article/getWorkArticleCount');
Route::get('getMyArticleCount', 'Article/getMyArticleCount');
Route::get('getArticleList', 'Article/getArticleList');
Route::group('city',function () {
Route::get('get_area', 'common/get_area');
Route::get('get_street', 'common/get_street');
Route::get('get_village', 'common/get_village');
});
Route::post('pay', 'pay/index');
Route::post('pay_notify', 'PayNotify/index');