2023-03-16 12:18:52 +08:00

175 lines
6.5 KiB
PHP

<?php
use think\facade\Route;
Route::group('/',function () {
Route::get('ArticleComment/isread', 'ArticleComment/isread');
Route::get('Village/get_my_village', 'Village/get_my_village');
Route::get('Village/get_my_town', 'Village/get_my_town');
Route::get('Userinfo/get_ranking', 'Userinfo/get_ranking');
Route::get('Userinfo/orderNumGroup', 'Userinfo/orderNumGroup');
Route::get('User/get_backstage', 'User/get_backstage');
Route::get('enter/list', 'enter/list');
Route::get('User/index', 'User/index');
Route::get('User/get_shiming', 'User/get_shiming');
Route::post('User/realname', 'User/realname');
Route::post('article/post', 'article/post');
Route::get('article/edit', 'article/edit');
Route::post('article/put', 'article/put');
// 评论审核
Route::get('Personal/getCommentList', 'Personal/getCommentList');
Route::get('Personal/oneCAlickAudit', 'Personal/oneCAlickAudit');
Route::get('Personal/delComment', 'Personal/delComment');
// 投诉
Route::post('index/complaint', 'index/complaint');
//评论
Route::get('article_comment/index', 'article_comment/index');
Route::get('article_comment/one_list', 'article_comment/one_list');
//我的文章
Route::get('my_article/index', 'my_article/index');
Route::get('my_article/details', 'my_article/details');
// 工作区 getWorkArticleCount
Route::get('getWorkArticleCount', 'article/getWorkArticleCount');
//首页
Route::get('getArticleList', 'article/getArticleList');
// 首页文章
Route::get('article/hot_list', 'article/hot_list');
//获取朋友圈分类信息
Route::get('Personal/getlist', 'Personal/getlist');
/** 发布图文*/
Route::post('Personal/addOrEditNews', 'Personal/addOrEditNews');
//图文详情
Route::get('Personal/getdetails', 'Personal/getdetails');
//获取说说评论
Route::get('Personal/getpinglun', 'Personal/getpinglun');
/**发布评论*/
Route::post('Personal/newsComment', 'Personal/newsComment');
//朋友圈
Route::post('Personal/getalllist', 'Personal/getalllist');
Route::post('common/category', 'common/category');
Route::post('Notice/list', 'Notice/list');
Route::post('Notice/info', 'Notice/info');
/**
* 维护录入总览
*/
Route::post('Maintainentry/pickUpInfo', 'Maintainentry/pickUpInfo');
/**
* 获取用户信息
*/
Route::get('Maintainentry/getUserMsg', 'Maintainentry/getUserMsg');
/**
* 获取我的家庭成员
*/
Route::get('Maintainentry/getmyFamily', 'Maintainentry/getmyFamily');
/**
* 设置为户主
*/
Route::get('Maintainentry/setFamily', 'Maintainentry/setFamily');
/**
* 获取 民族等
*/
Route::get('Maintainentry/getcategory', 'Maintainentry/getcategory');
/**
* 身份证查询
*/
Route::get('idcard', 'idcard');
/**
* 获取验证码
*/
Route::post('sms/send', 'sms/send');
/**
* 验证手机号/身份证是否使用
*/
Route::get('Maintainentry/is_have', 'Maintainentry/is_have');
/**
* 用户新增录入
*/
Route::post('Maintainentry/userEntry', 'Maintainentry/userEntry');
/**
* 修改个人信息
*/
Route::post('Maintainentry/changeUserMsg', 'Maintainentry/changeUserMsg');
Route::get('get_all_category', 'get_all_category');
/**
* 种植信息
*/
Route::post('Maintainentry/changePlantingMsg', 'Maintainentry/changePlantingMsg');
/**
* 种植信息
*/
Route::get('Maintainentry/getPlantingMsg', 'Maintainentry/getPlantingMsg');
/**
* 提交 维护录入
*/
Route::post('Maintainentry/newEntry', 'Maintainentry/newEntry');
Route::post('Maintainentry/getFamily', 'Maintainentry/getFamily');
// 保险信息
Route::post('Maintainentry/changeInsuranceMsg', 'Maintainentry/changeInsuranceMsg');
Route::get('get_all_category_insurance', 'get_all_category_insurance');
Route::get('Maintainentry/getInsuranceMsg', 'Maintainentry/getInsuranceMsg');
// 健康信息
Route::post('Maintainentry/changeHealthyMsg', 'Maintainentry/changeHealthyMsg');
Route::get('get_all_category_health', 'get_all_category_health');
Route::get('Maintainentry/getHealthyMsg', 'Maintainentry/getHealthyMsg');
//红白喜事轮播图
Route::get('Slide/get_slide_two', 'Slide/get_slide_two');
Route::get('User/index', 'User/index');
})->middleware(\app\api\middleware\Auth::class);
Route::group('/',function () {
Route::get('PublicBenefit/enroll', 'PublicBenefit/enroll');
Route::get('PublicBenefit/Activites', 'PublicBenefit/Activites');
Route::get('HouseDecoration/store', 'HouseDecoration/store');
Route::get('HouseDecoration/case', 'HouseDecoration/case');
/**
* 文创文章
*/
Route::get('cultural/article', 'cultural/article');
/**
* 全民打卡
*/
Route::get('cultural/punchcard', 'cultural/punchcard');
/**
* 官网攻略
*/
Route::get('cultural/WebStrategy', 'cultural/WebStrategy');
/**
* 热门活动
*/
Route::get('cultural/hotparty', 'cultural/hotparty');
/**
* 获取banner
*/
Route::get('Slide/get_slide', 'Slide/get_slide');
/**
* 获取文章
*/
Route::get('article/indexs', 'article/indexs');
Route::get('article/details', 'article/details');
Route::post('article_comment/post', 'article_comment/post');
/**
* 获取分类
*/
Route::get('common/category', 'common/category');
Route::get('Village/get_ranking_town', 'Village/get_ranking_town');
Route::get('Village/get_town_list', 'Village/get_town_list');
Route::get('Village/get_ranking_list', 'Village/get_ranking_list');
Route::get('Census/get_list', 'Census/get_list');
Route::get('Village/get_village', 'Village/get_village');
Route::get('Village/thumbs_up', 'Village/thumbs_up');
Route::get('Village/get_detail', 'Village/get_detail');
Route::get('Village/get_list', 'Village/get_list');
Route::get('Village/get_json', 'Village/get_json');
Route::get('common/get_brigade', 'common/get_brigade');
Route::get('Userinfo/Binding', 'Userinfo/Binding');
Route::get('city/get_area', 'common/get_area');
Route::get('city/get_street', 'common/get_street');
Route::get('city/get_village', 'common/get_village');
Route::get('geo/area', 'geo/area');
Route::get('geo/street', 'geo/street');
Route::get('geo/village', 'geo/village');
Route::get('geo/brigade', 'geo/brigade');
});