2024-02-29 17:39:19 +08:00
|
|
|
|
<?php
|
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
|
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
// | Author: liu21st <liu21st@gmail.com>
|
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
2024-04-26 10:05:17 +08:00
|
|
|
|
// var_dump(10);
|
2024-04-25 16:00:27 +08:00
|
|
|
|
use think\Route;
|
2024-04-26 10:05:17 +08:00
|
|
|
|
// // ################################################################下载################################################################
|
|
|
|
|
|
// // ################################################################下载################################################################
|
2024-04-03 18:15:07 +08:00
|
|
|
|
|
2024-08-03 17:56:26 +08:00
|
|
|
|
//下载页1
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/download', 'app/download/demo2');
|
|
|
|
|
|
Route::any('/download2', 'app/download/demo');
|
|
|
|
|
|
Route::any('/testedition/download', 'testapp/download/demo');
|
2024-08-03 17:56:26 +08:00
|
|
|
|
Route::any('/ceshi', 'app/download/ceshi');
|
2024-09-06 18:21:33 +08:00
|
|
|
|
Route::any('/get_class', 'admin/demo/get_class_xuesheng');
|
2024-08-03 17:56:26 +08:00
|
|
|
|
|
2024-12-26 19:14:44 +08:00
|
|
|
|
// 商务合作页面
|
|
|
|
|
|
Route::any('/business_cooperation', 'app/download/business_cooperation');
|
|
|
|
|
|
Route::any('/testedition/business_cooperation', 'testapp/download/business_cooperation');
|
|
|
|
|
|
Route::any('/business_cooperation_action', 'app/download/business_cooperation_action');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-29 18:46:37 +08:00
|
|
|
|
// // ################################################################二维码入口################################################################
|
|
|
|
|
|
// // ################################################################二维码入口################################################################
|
|
|
|
|
|
// 配合小白快乐成长&宠物小白使用
|
|
|
|
|
|
Route::any('/ordinary_code', 'code/qrcode/ordinary_code');
|
|
|
|
|
|
// 配合reedaw&宠物小白使用
|
|
|
|
|
|
Route::any('/bluetooth_code', 'code/qrcode/bluetooth_code');
|
2025-04-03 18:19:04 +08:00
|
|
|
|
// 配合小贴士使用
|
|
|
|
|
|
Route::any('/little_tips_project', 'code/qrcode/little_tips_project');
|
|
|
|
|
|
Route::any('/little_tips_get_video_list', 'code/qrcode/little_tips_get_video_list');
|
|
|
|
|
|
|
|
|
|
|
|
Route::any('/little_tips_project_set_page', 'code/qrcode/little_tips_project_set_page');
|
|
|
|
|
|
Route::any('/little_tips_project_upload_action', 'code/qrcode/little_tips_project_upload_action');
|
|
|
|
|
|
Route::any('/little_tips_is_del_update', 'code/qrcode/little_tips_is_del_update');
|
|
|
|
|
|
Route::any('/little_tips_del_action', 'code/qrcode/little_tips_del_action');
|
|
|
|
|
|
Route::any('/add_label_action', 'code/qrcode/add_label_action');
|
2025-09-03 19:09:13 +08:00
|
|
|
|
Route::any('/del_device_label_name', 'code/qrcode/del_device_label_name');
|
2025-04-03 18:19:04 +08:00
|
|
|
|
Route::any('/update_title_action', 'code/qrcode/update_title_action');
|
|
|
|
|
|
|
2025-07-23 21:32:05 +08:00
|
|
|
|
// 儿童膳食食谱
|
|
|
|
|
|
Route::any('/children_meals_cookbook', 'code/qrcode/children_meals_cookbook');
|
|
|
|
|
|
|
|
|
|
|
|
// 厨房秤的二维码
|
|
|
|
|
|
Route::any('/kitchen_qrcode', 'code/qrcode/kitchen_qrcode');
|
|
|
|
|
|
|
2025-04-03 18:19:04 +08:00
|
|
|
|
|
|
|
|
|
|
|
2025-08-02 23:03:04 +08:00
|
|
|
|
Route::post('/send_sms_api', 'app/smsaliyun/send_sms_api');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-03 18:19:04 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-29 18:46:37 +08:00
|
|
|
|
|
2024-12-26 19:14:44 +08:00
|
|
|
|
// // ################################################################设备请求入口################################################################
|
|
|
|
|
|
// // ################################################################设备请求入口################################################################
|
2024-08-03 17:56:26 +08:00
|
|
|
|
|
2024-12-26 19:14:44 +08:00
|
|
|
|
Route::any('/device_api_1', 'admin/device/device_request_api');
|
2024-07-26 18:34:47 +08:00
|
|
|
|
// Route::any('/CityList.js', 'tsf/CityList.js');
|
2024-12-26 19:14:44 +08:00
|
|
|
|
Route::any('/see_device_msg', 'admin/device/see_device_msg');
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-24 15:28:48 +08:00
|
|
|
|
// // ################################################################AI接口处理################################################################
|
|
|
|
|
|
// // ################################################################AI接口处理################################################################
|
|
|
|
|
|
// 调用deepseek接口
|
|
|
|
|
|
Route::any('/ai/send_msg_deepseek', 'app/deepseek/send_msg_deepseek');
|
|
|
|
|
|
// ai测试页面
|
|
|
|
|
|
Route::any('/ai/test_index', 'app/deepseek/test_index');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Route::any('/testedition/get_all_record_data_group', 'testapp/pagingcontrast/get_all_record_data_group');
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-26 10:05:17 +08:00
|
|
|
|
// // ################################################################管理后台################################################################
|
|
|
|
|
|
// // ################################################################管理后台################################################################
|
2024-04-03 18:15:07 +08:00
|
|
|
|
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// 管理后台登录
|
2024-12-07 18:56:07 +08:00
|
|
|
|
|
|
|
|
|
|
// 图片选择上传
|
|
|
|
|
|
Route::any('/admin/pic', 'admin/base/pic_index');
|
|
|
|
|
|
Route::any('/admin/pic_upload_action', 'admin/base/pic_upload_action');
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-03 18:19:04 +08:00
|
|
|
|
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// 登录页
|
|
|
|
|
|
Route::any('/admin/login', 'admin/login/login');
|
|
|
|
|
|
// 登录动作
|
|
|
|
|
|
Route::post('/admin/login_action', 'admin/login/login_action');
|
|
|
|
|
|
// 管理后台首页
|
|
|
|
|
|
Route::any('/admin/index', 'admin/index/index');
|
2024-06-07 16:49:19 +08:00
|
|
|
|
Route::any('/admin/welcome', 'admin/index/welcome');
|
2024-06-14 17:58:50 +08:00
|
|
|
|
// APP账号角色管理
|
|
|
|
|
|
Route::any('/member/member_list', 'admin/member/member_list');
|
2024-06-29 19:11:24 +08:00
|
|
|
|
Route::any('/member/member_is_del', 'admin/member/member_is_del');
|
2024-06-14 17:58:50 +08:00
|
|
|
|
Route::any('/member/user_list', 'admin/member/user_list');
|
2024-06-29 19:11:24 +08:00
|
|
|
|
Route::any('/member/user_record_briefing', 'admin/member/user_record_briefing');
|
|
|
|
|
|
Route::any('/member/user_is_del', 'admin/member/user_is_del');
|
2024-06-14 17:58:50 +08:00
|
|
|
|
// 卡片管理
|
|
|
|
|
|
Route::any('/card/index', 'admin/card/index');
|
|
|
|
|
|
Route::any('/card/card_add', 'admin/card/card_add');
|
|
|
|
|
|
Route::any('/card/card_add_action', 'admin/card/card_add_action');
|
|
|
|
|
|
Route::any('/card/card_edit', 'admin/card/card_edit');
|
|
|
|
|
|
Route::any('/card/card_edit_action', 'admin/card/card_edit_action');
|
|
|
|
|
|
Route::any('/card/card_del', 'admin/card/card_del');
|
|
|
|
|
|
// Route::any('/appversion/app_add_action', 'admin/appversion/app_add_action');
|
2024-07-03 19:26:07 +08:00
|
|
|
|
// 估分功能管理
|
|
|
|
|
|
Route::any('/estimate/index', 'admin/estimate/index');
|
|
|
|
|
|
Route::any('/estimate/estimate_add', 'admin/estimate/estimate_add');
|
2024-07-08 08:20:57 +08:00
|
|
|
|
Route::any('/estimate/estimate_edit', 'admin/estimate/estimate_edit');
|
2024-07-05 03:14:57 +08:00
|
|
|
|
Route::any('/estimate/submit_rule', 'admin/estimate/submit_rule');
|
|
|
|
|
|
Route::any('/estimate/estimate_content_observe', 'admin/estimate/estimate_content_observe');
|
2024-09-06 18:21:33 +08:00
|
|
|
|
Route::any('/estimate/cards_select_all', 'admin/estimate/cards_select_all');
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-06-14 17:58:50 +08:00
|
|
|
|
// 设备管理
|
|
|
|
|
|
Route::any('/device/index', 'admin/device/index');
|
|
|
|
|
|
Route::any('/device/device_add', 'admin/device/device_add');
|
|
|
|
|
|
Route::any('/device/device_add_action', 'admin/device/device_add_action');
|
|
|
|
|
|
Route::any('/device/device_edit', 'admin/device/device_edit');
|
|
|
|
|
|
Route::any('/device/device_edit_action', 'admin/device/device_edit_action');
|
|
|
|
|
|
Route::any('/device/device_del', 'admin/device/device_del');
|
2024-06-07 16:49:19 +08:00
|
|
|
|
// APP版本管理
|
|
|
|
|
|
Route::any('/appversion/index', 'admin/appversion/index');
|
|
|
|
|
|
Route::any('/appversion/app_add', 'admin/appversion/app_add');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/appversion/app_edit', 'admin/appversion/app_edit');
|
2024-06-08 16:55:42 +08:00
|
|
|
|
Route::any('/appversion/app_del', 'admin/appversion/app_del');
|
2024-06-07 16:49:19 +08:00
|
|
|
|
Route::any('/appversion/app_add_action', 'admin/appversion/app_add_action');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/appversion/app_edit_action', 'admin/appversion/app_edit_action');
|
2024-11-23 16:46:38 +08:00
|
|
|
|
// 资讯管理
|
|
|
|
|
|
Route::any('/editortext/index', 'admin/editortext/index');
|
|
|
|
|
|
Route::any('/editortext/add_content', 'admin/editortext/add_content');
|
|
|
|
|
|
Route::any('/editortext/add_content_action', 'admin/editortext/add_content_action');
|
|
|
|
|
|
Route::any('/editortext/edit_content', 'admin/editortext/edit_content');
|
|
|
|
|
|
Route::any('/editortext/edit_content_action', 'admin/editortext/edit_content_action');
|
|
|
|
|
|
Route::any('/editortext/edit_order_action', 'admin/editortext/edit_order_action');
|
|
|
|
|
|
Route::any('/editortext/model_content', 'admin/editortext/model_content');
|
|
|
|
|
|
Route::any('/editortext/upload_pic_action', 'admin/editortext/upload_pic_action');
|
|
|
|
|
|
Route::any('/editortext/upload_video_action', 'admin/editortext/upload_video_action');
|
|
|
|
|
|
Route::any('/editortext/stop_action', 'admin/editortext/stop_action');
|
|
|
|
|
|
|
2024-12-07 18:56:07 +08:00
|
|
|
|
// Banner图&公告管理
|
|
|
|
|
|
Route::any('/notice/information_msg_list', 'admin/notice/information_msg_list');//公告简要接口
|
|
|
|
|
|
// banner
|
|
|
|
|
|
Route::any('/notice/banner_index', 'admin/notice/banner_index');
|
|
|
|
|
|
Route::any('/notice/banner_add', 'admin/notice/banner_add');
|
|
|
|
|
|
Route::any('/notice/banner_edit', 'admin/notice/banner_edit');
|
2024-12-18 09:19:51 +08:00
|
|
|
|
Route::any('/notice/banner_add_or_update_action', 'admin/notice/banner_add_or_update_action');
|
2024-12-07 18:56:07 +08:00
|
|
|
|
Route::any('/notice/banner_update_sort', 'admin/notice/banner_update_sort');
|
|
|
|
|
|
Route::any('/notice/banner_stop_run', 'admin/notice/banner_stop_run');
|
|
|
|
|
|
// 首页弹窗管理
|
2024-12-18 09:19:51 +08:00
|
|
|
|
Route::any('/notice/pop_index', 'admin/notice/pop_index');
|
|
|
|
|
|
Route::any('/notice/pop_add', 'admin/notice/pop_add');
|
|
|
|
|
|
Route::any('/notice/pop_edit', 'admin/notice/pop_edit');
|
|
|
|
|
|
Route::any('/notice/pop_add_or_update_action', 'admin/notice/pop_add_or_update_action');
|
|
|
|
|
|
Route::any('/notice/pop_update_sort', 'admin/notice/pop_update_sort');
|
|
|
|
|
|
Route::any('/notice/pop_stop_run', 'admin/notice/pop_stop_run');
|
2024-12-26 19:14:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 商业合作
|
|
|
|
|
|
Route::any('/business/business_index', 'admin/business/business_index');
|
|
|
|
|
|
Route::any('/business/business_download', 'admin/business/business_download');
|
|
|
|
|
|
|
2024-11-23 16:46:38 +08:00
|
|
|
|
|
2024-06-07 16:49:19 +08:00
|
|
|
|
|
2024-07-26 18:34:47 +08:00
|
|
|
|
// 联系我们H5
|
|
|
|
|
|
Route::any('/technology/index', 'admin/technology/index');
|
|
|
|
|
|
Route::any('/technology/web_index', 'admin/technology/web_index');
|
|
|
|
|
|
Route::any('/technology/privacy_index', 'admin/technology/privacy_index');
|
|
|
|
|
|
Route::any('/technology/set_user_opinion', 'admin/technology/set_user_opinion');
|
2024-06-07 16:49:19 +08:00
|
|
|
|
|
2024-04-26 10:05:17 +08:00
|
|
|
|
// // Route::get('/admin/welcome', 'admin/index/welcome');
|
|
|
|
|
|
// // // APP账号角色管理
|
|
|
|
|
|
// // // APP账号数据列表
|
|
|
|
|
|
// // Route::get('/admin/member_list', 'admin/member/member_list');
|
|
|
|
|
|
// // Route::get('/admin/user_list', 'admin/member/user_list');
|
2024-04-03 18:15:07 +08:00
|
|
|
|
|
2025-04-03 18:19:04 +08:00
|
|
|
|
// ################################################################厨房秤部分###################################
|
|
|
|
|
|
// #################################食材管理
|
|
|
|
|
|
// 一级食材页面
|
|
|
|
|
|
Route::any('/kitchenscale/food_ingredients_index_1', 'admin/kitchenscale/food_ingredients_index_1');
|
|
|
|
|
|
// 二级食材页面
|
|
|
|
|
|
Route::any('/kitchenscale/food_ingredients_index_2', 'admin/kitchenscale/food_ingredients_index_2');
|
|
|
|
|
|
// 三级食材页面
|
|
|
|
|
|
Route::any('/kitchenscale/food_ingredients_index_3', 'admin/kitchenscale/food_ingredients_index_3');
|
|
|
|
|
|
// 菜谱管理
|
|
|
|
|
|
Route::any('/technology/index', 'admin/technology/index');
|
|
|
|
|
|
Route::any('/technology/web_index', 'admin/technology/web_index');
|
|
|
|
|
|
Route::any('/technology/privacy_index', 'admin/technology/privacy_index');
|
|
|
|
|
|
Route::any('/technology/set_user_opinion', 'admin/technology/set_user_opinion');
|
|
|
|
|
|
|
2024-04-03 18:15:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-04-26 10:05:17 +08:00
|
|
|
|
// // ################################################################APP接口################################################################
|
|
|
|
|
|
// // ################################################################APP接口################################################################
|
2024-05-23 18:49:55 +08:00
|
|
|
|
// ################################公共接口################################
|
2024-05-24 20:03:39 +08:00
|
|
|
|
// 获取记录信息(分组)(包含身体、跳绳、肺活量)、
|
2024-05-23 18:49:55 +08:00
|
|
|
|
Route::any('/get_all_record_data_group', 'app/pagingcontrast/get_all_record_data_group');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_all_record_data_group', 'testapp/pagingcontrast/get_all_record_data_group');
|
2024-05-24 18:45:12 +08:00
|
|
|
|
// 获取记录信息(分页)(包含身体、跳绳、肺活量)
|
2024-05-23 18:49:55 +08:00
|
|
|
|
Route::any('/get_all_record_data_page', 'app/pagingcontrast/get_all_record_data_page');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_all_record_data_page', 'testapp/pagingcontrast/get_all_record_data_page');
|
2024-05-24 18:45:12 +08:00
|
|
|
|
// 获取详细历史数据信息
|
|
|
|
|
|
Route::any('/get_all_record_detailed_information', 'app/pagingcontrast/get_all_record_detailed_information');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_all_record_detailed_information', 'testapp/pagingcontrast/get_all_record_detailed_information');
|
2024-05-24 18:45:12 +08:00
|
|
|
|
// 数据对比
|
|
|
|
|
|
Route::any('/get_all_card_data_contrast', 'app/pagingcontrast/get_all_card_data_contrast');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_all_card_data_contrast', 'testapp/pagingcontrast/get_all_card_data_contrast');
|
2024-05-27 18:42:33 +08:00
|
|
|
|
// 删除某个历史数据
|
|
|
|
|
|
Route::any('/card_del_record_data', 'app/pagingcontrast/del_all_record_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/card_del_record_data', 'testapp/pagingcontrast/del_all_record_data');
|
2024-06-07 17:34:13 +08:00
|
|
|
|
// 检测版本及判断是否登录失效
|
|
|
|
|
|
Route::any('/login_invalid_version', 'app/index/login_invalid_version');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/login_invalid_version', 'testapp/index/login_invalid_version');
|
2025-04-19 17:24:07 +08:00
|
|
|
|
// 设置语言
|
|
|
|
|
|
Route::any('/set_language_country', 'app/index/set_language_country');
|
|
|
|
|
|
Route::any('/testedition/set_language_country', 'testapp/index/set_language_country');
|
2024-05-23 18:49:55 +08:00
|
|
|
|
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// ################################登录接口################################
|
2024-05-23 09:34:32 +08:00
|
|
|
|
// 注册接口12
|
2024-05-16 10:33:57 +08:00
|
|
|
|
Route::any('/register_action', 'app/login/register_action');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/register_action', 'testapp/login/register_action');
|
2024-06-05 18:10:32 +08:00
|
|
|
|
// 重置密码
|
2024-05-20 18:49:27 +08:00
|
|
|
|
Route::any('/reset_password', 'app/login/reset_password');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/reset_password', 'testapp/login/reset_password');
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// 登录接口
|
|
|
|
|
|
Route::any('/login_action', 'app/login/login_action');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/login_action', 'testapp/login/login_action');
|
2025-04-03 18:19:04 +08:00
|
|
|
|
// 微信小程序快捷登录接口
|
|
|
|
|
|
Route::any('/wechat_quick_login', 'app/login/wechat_quick_login');
|
|
|
|
|
|
Route::any('/testedition/wechat_quick_login', 'testapp/login/wechat_quick_login');
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// 手机或者邮箱验证码接口接口
|
|
|
|
|
|
Route::any('/send_phone_email_code', 'app/login/send_phone_email_code');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/send_phone_email_code', 'testapp/login/send_phone_email_code');
|
2024-05-28 18:43:48 +08:00
|
|
|
|
// 退出登录操作
|
|
|
|
|
|
Route::any('/user_quit_account', 'app/login/user_quit_account');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/user_quit_account', 'testapp/login/user_quit_account');
|
2024-08-26 14:49:12 +08:00
|
|
|
|
// 删除账号
|
|
|
|
|
|
Route::any('/delete_account', 'app/login/delete_account');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/delete_account', 'testapp/login/delete_account');
|
2024-05-28 18:43:48 +08:00
|
|
|
|
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// ################################APP首页接口################################
|
|
|
|
|
|
// 创建用户
|
|
|
|
|
|
Route::any('/create_user_data', 'app/index/create_user_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/create_user_data', 'testapp/index/create_user_data');
|
2024-05-28 18:43:48 +08:00
|
|
|
|
// 删除用户
|
|
|
|
|
|
Route::any('/del_user_data', 'app/index/del_user_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/del_user_data', 'testapp/index/del_user_data');
|
2024-05-28 18:43:48 +08:00
|
|
|
|
// 修改用户
|
|
|
|
|
|
Route::any('/update_user_data', 'app/index/update_user_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/update_user_data', 'testapp/index/update_user_data');
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// 获取账号下用户列表
|
2024-05-20 13:56:50 +08:00
|
|
|
|
Route::any('/get_user_card_list', 'app/index/get_user_card_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_user_card_list', 'testapp/index/get_user_card_list');
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// 获取指定用户详细信息
|
2024-05-20 13:56:50 +08:00
|
|
|
|
Route::any('/get_user_data_information', 'app/index/get_user_data_information');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_user_data_information', 'testapp/index/get_user_data_information');
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// 获取所有卡片列表信息
|
|
|
|
|
|
Route::any('/get_card_all_list', 'app/index/get_card_all_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_card_all_list', 'testapp/index/get_card_all_list');
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// 保存用户的卡片排序
|
|
|
|
|
|
Route::any('/save_user_card_order', 'app/index/save_user_card_order');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/save_user_card_order', 'testapp/index/save_user_card_order');
|
2024-05-21 18:43:56 +08:00
|
|
|
|
// 获取年级列表
|
|
|
|
|
|
Route::any('/get_grade_list', 'app/index/get_grade_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_grade_list', 'testapp/index/get_grade_list');
|
2024-10-09 15:40:04 +08:00
|
|
|
|
// 修改用户所属区域
|
|
|
|
|
|
Route::any('/update_user_address', 'app/index/update_user_address');
|
|
|
|
|
|
Route::any('/testedition/update_user_address', 'testapp/index/update_user_address');
|
|
|
|
|
|
|
2024-07-26 18:34:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-05-20 18:49:27 +08:00
|
|
|
|
// ################################身体数据卡片接口################################
|
|
|
|
|
|
// 报告页详情
|
|
|
|
|
|
Route::any('/card_data_detailed', 'app/card/card_data_detailed');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/card_data_detailed', 'testapp/card/card_data_detailed');
|
2024-05-20 18:49:27 +08:00
|
|
|
|
// 手动记录接口
|
|
|
|
|
|
Route::any('/card_manual_recording', 'app/card/card_manual_recording');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/card_manual_recording', 'testapp/card/card_manual_recording');
|
2024-06-17 18:03:41 +08:00
|
|
|
|
// 设备记录
|
|
|
|
|
|
Route::any('/card_manual_recording_device', 'app/card/card_manual_recording_device');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/card_manual_recording_device', 'testapp/card/card_manual_recording_device');
|
2024-06-17 18:03:41 +08:00
|
|
|
|
|
2024-05-22 21:37:39 +08:00
|
|
|
|
// 修改初始体重/目标体重
|
|
|
|
|
|
Route::any('/card_modify_weight', 'app/card/card_modify_weight');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/card_modify_weight', 'testapp/card/card_modify_weight');
|
2024-05-21 18:43:56 +08:00
|
|
|
|
// 曲线页面图表
|
|
|
|
|
|
Route::any('/card_curve_chart', 'app/card/card_curve_chart');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/card_curve_chart', 'testapp/card/card_curve_chart');
|
2024-05-21 18:43:56 +08:00
|
|
|
|
// 曲线页面底部目标
|
|
|
|
|
|
Route::any('/card_curve_target', 'app/card/card_curve_target');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/card_curve_target', 'testapp/card/card_curve_target');
|
2024-11-23 16:46:38 +08:00
|
|
|
|
// 身高预测接口
|
|
|
|
|
|
Route::any('/card_height_prediction', 'app/card/card_height_prediction');
|
|
|
|
|
|
Route::any('/testedition/card_height_prediction', 'testapp/card/card_height_prediction');
|
|
|
|
|
|
// 身高预测接口
|
|
|
|
|
|
Route::any('/card_bmi_evaluation', 'app/card/card_bmi_evaluation');
|
|
|
|
|
|
Route::any('/testedition/card_bmi_evaluation', 'testapp/card/card_bmi_evaluation');
|
2025-04-30 18:38:21 +08:00
|
|
|
|
// 身高预测接口
|
|
|
|
|
|
Route::any('/incremental_comparison', 'app/card/incremental_comparison');
|
|
|
|
|
|
Route::any('/testedition/incremental_comparison', 'testapp/card/incremental_comparison');
|
2024-11-23 16:46:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-04-29 16:42:30 +08:00
|
|
|
|
// ################################跳绳接口################################
|
2024-05-24 10:10:28 +08:00
|
|
|
|
// 手动记录
|
|
|
|
|
|
Route::any('/skip_manual_recording', 'app/skip/skip_manual_recording');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/skip_manual_recording', 'testapp/skip/skip_manual_recording');
|
2024-07-26 18:34:47 +08:00
|
|
|
|
// 设备记录
|
|
|
|
|
|
Route::any('/skip_manual_recording_device', 'app/skip/skip_manual_recording_device');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/skip_manual_recording_device', 'testapp/skip/skip_manual_recording_device');
|
2024-04-29 16:42:30 +08:00
|
|
|
|
// 今日数据
|
|
|
|
|
|
Route::any('/skip_today_data', 'app/skip/skip_today_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/skip_today_data', 'testapp/skip/skip_today_data');
|
2024-04-29 16:42:30 +08:00
|
|
|
|
// 运动曲线
|
2024-05-25 18:39:08 +08:00
|
|
|
|
Route::any('/skip_curve_chart', 'app/skip/skip_curve_chart');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/skip_curve_chart', 'testapp/skip/skip_curve_chart');
|
2024-05-25 18:39:08 +08:00
|
|
|
|
// 删除某个历史数据
|
|
|
|
|
|
Route::any('/skip_del_record_data', 'app/skip/skip_del_record_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/skip_del_record_data', 'testapp/skip/skip_del_record_data');
|
2024-05-16 10:33:57 +08:00
|
|
|
|
// ################################肺活量接口################################
|
2024-05-27 18:42:33 +08:00
|
|
|
|
// 记录数据
|
|
|
|
|
|
Route::any('/vitalcapacity_save_record_data', 'app/vitalcapacity/vitalcapacity_save_record_data');
|
2024-07-26 18:34:47 +08:00
|
|
|
|
Route::any('/vitalcapacity_save_record_data_device', 'app/vitalcapacity/vitalcapacity_save_record_data_device');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/vitalcapacity_save_record_data', 'testapp/vitalcapacity/vitalcapacity_save_record_data');
|
|
|
|
|
|
Route::any('/testedition/vitalcapacity_save_record_data_device', 'testapp/vitalcapacity/vitalcapacity_save_record_data_device');
|
2024-05-27 18:42:33 +08:00
|
|
|
|
// 报告数据(上次数据)
|
|
|
|
|
|
Route::any('/vitalcapacity_data_report', 'app/vitalcapacity/vitalcapacity_data_report');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/vitalcapacity_data_report', 'testapp/vitalcapacity/vitalcapacity_data_report');
|
2024-05-28 18:43:48 +08:00
|
|
|
|
// 曲线
|
|
|
|
|
|
Route::any('/vitalcapacity_curve_chart', 'app/vitalcapacity/vitalcapacity_curve_chart');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/vitalcapacity_curve_chart', 'testapp/vitalcapacity/vitalcapacity_curve_chart');
|
2024-06-03 01:42:45 +08:00
|
|
|
|
// ################################估分接口################################
|
|
|
|
|
|
// 获取类型列表
|
|
|
|
|
|
Route::any('/sportstesting_get_type_list', 'app/sportstesting/sportstesting_get_type_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/sportstesting_get_type_list', 'testapp/sportstesting/sportstesting_get_type_list');
|
2024-06-03 01:42:45 +08:00
|
|
|
|
// 获取类型列表
|
|
|
|
|
|
Route::any('/sportstesting_get_region_list', 'app/sportstesting/sportstesting_get_region_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/sportstesting_get_region_list', 'testapp/sportstesting/sportstesting_get_region_list');
|
2024-06-05 18:10:32 +08:00
|
|
|
|
// 获取估分最后一次数据
|
|
|
|
|
|
Route::any('/sportstesting_get_last_data', 'app/sportstesting/sportstesting_get_last_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/sportstesting_get_last_data', 'testapp/sportstesting/sportstesting_get_last_data');
|
2024-06-05 18:10:32 +08:00
|
|
|
|
// 获取估分历史列表
|
|
|
|
|
|
Route::any('/sportstesting_get_all_list', 'app/sportstesting/sportstesting_get_all_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/sportstesting_get_all_list', 'testapp/sportstesting/sportstesting_get_all_list');
|
2024-06-05 18:10:32 +08:00
|
|
|
|
// 获取估分历史详情
|
|
|
|
|
|
Route::any('/sportstesting_get_one_details', 'app/sportstesting/sportstesting_get_one_details');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/sportstesting_get_one_details', 'testapp/sportstesting/sportstesting_get_one_details');
|
2024-06-03 01:42:45 +08:00
|
|
|
|
// 计算并存储数据
|
|
|
|
|
|
Route::any('/sportstesting_set_once_data', 'app/sportstesting/sportstesting_set_once_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/sportstesting_set_once_data', 'testapp/sportstesting/sportstesting_set_once_data');
|
2024-07-08 08:20:57 +08:00
|
|
|
|
// 获取估分已有的地区列表
|
|
|
|
|
|
Route::any('/sportstesting_get_city_list', 'app/sportstesting/sportstesting_get_city_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/sportstesting_get_city_list', 'testapp/sportstesting/sportstesting_get_city_list');
|
2024-05-27 18:42:33 +08:00
|
|
|
|
|
2024-06-17 18:03:41 +08:00
|
|
|
|
// ################################设备管理################################
|
|
|
|
|
|
// 获取系统设备列表
|
|
|
|
|
|
Route::any('/device_data_list', 'app/device/device_data_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/device_data_list', 'testapp/device/device_data_list');
|
2024-06-17 18:03:41 +08:00
|
|
|
|
// 绑定系统设备
|
|
|
|
|
|
Route::any('/device_binding', 'app/device/device_binding');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/device_binding', 'testapp/device/device_binding');
|
2024-06-17 18:03:41 +08:00
|
|
|
|
// 获取用户设备列表
|
|
|
|
|
|
Route::any('/device_user_data_list', 'app/device/device_user_data_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/device_user_data_list', 'testapp/device/device_user_data_list');
|
2024-06-17 18:03:41 +08:00
|
|
|
|
// 解绑系统设备
|
|
|
|
|
|
Route::any('/device_unbinding', 'app/device/device_unbinding');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/device_unbinding', 'testapp/device/device_unbinding');
|
2024-07-04 18:44:21 +08:00
|
|
|
|
// 根据mac获取设备信息
|
|
|
|
|
|
Route::any('/device_mac_get_content', 'app/device/device_mac_get_content');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/device_mac_get_content', 'testapp/device/device_mac_get_content');
|
2024-06-17 18:03:41 +08:00
|
|
|
|
// // 计算并存储数据
|
|
|
|
|
|
// Route::any('/device_data_list', 'app/device/device_data_list');
|
2024-06-05 18:10:32 +08:00
|
|
|
|
// ################################我的接口################################
|
|
|
|
|
|
|
|
|
|
|
|
// 获取账号信息
|
|
|
|
|
|
Route::any('/get_my_account_msg', 'app/myinformation/get_my_account_msg');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_my_account_msg', 'testapp/myinformation/get_my_account_msg');
|
2024-06-05 18:10:32 +08:00
|
|
|
|
// 修改昵称
|
|
|
|
|
|
Route::any('/update_my_nickname', 'app/myinformation/update_my_nickname');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/update_my_nickname', 'testapp/myinformation/update_my_nickname');
|
2024-06-05 18:10:32 +08:00
|
|
|
|
// 邮箱/手机绑定
|
|
|
|
|
|
Route::any('/update_my_account_msg', 'app/myinformation/update_my_account_msg');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/update_my_account_msg', 'testapp/myinformation/update_my_account_msg');
|
2024-06-05 18:10:32 +08:00
|
|
|
|
// 修改密码
|
|
|
|
|
|
Route::any('/update_my_password', 'app/myinformation/update_my_password');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/update_my_password', 'testapp/myinformation/update_my_password');
|
2024-06-03 01:42:45 +08:00
|
|
|
|
// // 报告数据(上次数据)
|
|
|
|
|
|
// Route::any('/vitalcapacity_data_report', 'app/sportstesting/vitalcapacity_data_report');
|
|
|
|
|
|
// // 曲线
|
|
|
|
|
|
// Route::any('/vitalcapacity_curve_chart', 'app/sportstesting/vitalcapacity_curve_chart');
|
2024-04-29 16:42:30 +08:00
|
|
|
|
|
2024-09-06 18:21:33 +08:00
|
|
|
|
// ################################通用卡片接口################################
|
|
|
|
|
|
// 报告页详情
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/get_card_content', 'app/cardpublic/get_card_content');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_card_content', 'testapp/cardpublic/get_card_content');
|
2024-09-06 18:21:33 +08:00
|
|
|
|
// 存储数据
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/public_data_save', 'app/cardpublic/data_save');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/public_data_save', 'testapp/cardpublic/data_save');
|
2024-09-06 18:21:33 +08:00
|
|
|
|
// 获取标签项目信息
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/get_label_list', 'app/cardpublic/get_label_list');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/get_label_list', 'testapp/cardpublic/get_label_list');
|
|
|
|
|
|
// 卡片运动曲线
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/card_motion_curve', 'app/cardpublic/card_motion_curve');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/card_motion_curve', 'testapp/cardpublic/card_motion_curve');
|
|
|
|
|
|
// 获取手动记录内容
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/obtain_manual_record_content', 'app/cardpublic/obtain_manual_record_content');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/obtain_manual_record_content', 'testapp/cardpublic/obtain_manual_record_content');
|
|
|
|
|
|
// 数据对比-获取数据
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/data_contrast_obtain_data', 'app/cardpublic/data_contrast_obtain_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/data_contrast_obtain_data', 'testapp/cardpublic/data_contrast_obtain_data');
|
|
|
|
|
|
// 数据对比-对比数据
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/data_contrast_contrast_data', 'app/cardpublic/data_contrast_contrast_data');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
Route::any('/testedition/data_contrast_contrast_data', 'testapp/cardpublic/data_contrast_contrast_data');
|
2024-09-26 20:20:14 +08:00
|
|
|
|
// 获取历史数据
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/obtain_history_record', 'app/cardpublic/obtain_history_record');
|
2024-09-26 20:20:14 +08:00
|
|
|
|
Route::any('/testedition/obtain_history_record', 'testapp/cardpublic/obtain_history_record');
|
|
|
|
|
|
// 删除历史数据
|
2024-11-23 16:46:38 +08:00
|
|
|
|
Route::any('/history_record_del', 'app/cardpublic/history_record_del');
|
2024-09-26 20:20:14 +08:00
|
|
|
|
Route::any('/testedition/history_record_del', 'testapp/cardpublic/history_record_del');
|
2024-09-24 18:40:30 +08:00
|
|
|
|
|
2024-11-23 16:46:38 +08:00
|
|
|
|
// ################################资讯接口################################
|
|
|
|
|
|
// 获取板块信息及板块下标签类别信息
|
|
|
|
|
|
Route::any('/get_sector_label_msg', 'app/Msginformation/get_sector_label_msg');
|
|
|
|
|
|
Route::any('/testedition/get_sector_label_msg', 'testapp/Msginformation/get_sector_label_msg');
|
|
|
|
|
|
// 板块默认内容
|
|
|
|
|
|
Route::any('/get_sector_content_msg', 'app/Msginformation/get_sector_content_msg');
|
|
|
|
|
|
Route::any('/testedition/get_sector_content_msg', 'testapp/Msginformation/get_sector_content_msg');
|
|
|
|
|
|
// 点赞
|
|
|
|
|
|
Route::any('/user_like_it', 'app/Msginformation/user_like_it');
|
|
|
|
|
|
Route::any('/testedition/user_like_it', 'testapp/Msginformation/user_like_it');
|
2024-11-29 18:46:37 +08:00
|
|
|
|
// 获取公告文章信息列表
|
|
|
|
|
|
Route::any('/get_recommend_information', 'app/Msginformation/get_recommend_information');
|
|
|
|
|
|
Route::any('/testedition/get_recommend_information', 'testapp/Msginformation/get_recommend_information');
|
2024-12-07 18:56:07 +08:00
|
|
|
|
// 获取商务合作链接
|
2024-12-18 09:19:51 +08:00
|
|
|
|
Route::any('/get_business_cooperation_url', 'app/Msginformation/get_business_cooperation_url');
|
2024-12-07 18:56:07 +08:00
|
|
|
|
Route::any('/testedition/get_business_cooperation_url', 'testapp/Msginformation/get_business_cooperation_url');
|
|
|
|
|
|
|
2024-12-26 19:14:44 +08:00
|
|
|
|
// 重定向微信
|
|
|
|
|
|
Route::any('/open_wechat_content', 'app/Msginformation/open_wechat_content');
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-12-07 18:56:07 +08:00
|
|
|
|
|
2025-01-04 19:08:03 +08:00
|
|
|
|
###########################################################################################################################################
|
|
|
|
|
|
################################################################以上是Reedaw################################################################
|
|
|
|
|
|
|
|
|
|
|
|
################################################################下面是厨房秤################################################################
|
|
|
|
|
|
###########################################################################################################################################
|
|
|
|
|
|
|
2025-08-02 23:03:04 +08:00
|
|
|
|
#########################################################前端接口############################################################
|
2025-04-03 18:19:04 +08:00
|
|
|
|
// 微信小程序快捷登录接口
|
|
|
|
|
|
Route::any('/kitchenscale/wechat_quick_login', 'app/kitchenscale/app.index/wechat_quick_login');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/wechat_quick_login', 'app/kitchenscale/app.index/wechat_quick_login');
|
|
|
|
|
|
|
2025-01-22 12:31:08 +08:00
|
|
|
|
// 公共内容################################################################
|
|
|
|
|
|
// 获取用户上传图片列表
|
|
|
|
|
|
Route::any('/kitchenscale/pic_chose_list', 'app/kitchenscale/app.base/pic_chose_list');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/pic_chose_list', 'app/kitchenscale/testapp.base/pic_chose_list');
|
|
|
|
|
|
// 用户多图上传接口
|
2025-04-03 18:19:04 +08:00
|
|
|
|
Route::any('/kitchenscale/pic_upload_one_action', 'app/kitchenscale/app.base/pic_upload_one_action');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/pic_upload_one_action', 'app/kitchenscale/testapp.base/pic_upload_one_action');
|
|
|
|
|
|
// 用户多图上传接口
|
2025-01-22 12:31:08 +08:00
|
|
|
|
Route::any('/kitchenscale/pic_upload_action', 'app/kitchenscale/app.base/pic_upload_action');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/pic_upload_action', 'app/kitchenscale/testapp.base/pic_upload_action');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 首页内容################################################################
|
2025-03-14 18:46:26 +08:00
|
|
|
|
// 检测版本及判断是否登录失效
|
|
|
|
|
|
Route::any('/kitchenscale/login_invalid_version', 'app/Kitchenscale/app.Index/login_invalid_version');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/login_invalid_version', 'app/kitchenscale/testapp.index/login_invalid_version');
|
2025-01-22 12:31:08 +08:00
|
|
|
|
// 获取配置类信息
|
2025-03-07 11:42:26 +08:00
|
|
|
|
Route::any('/kitchenscale/get_default_config', 'app/Kitchenscale/app.Index/get_default_config');
|
2025-01-22 12:31:08 +08:00
|
|
|
|
Route::any('/testedition/kitchenscale/get_default_config', 'app/kitchenscale/testapp.index/get_default_config');
|
|
|
|
|
|
// 获取首页页面展示数据
|
|
|
|
|
|
Route::any('/kitchenscale/get_homepage_information', 'app/kitchenscale/app.index/get_homepage_information');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_homepage_information', 'app/kitchenscale/testapp.index/get_homepage_information');
|
2025-03-07 11:42:26 +08:00
|
|
|
|
// 首页搜索接口
|
|
|
|
|
|
Route::any('/kitchenscale/search_column', 'app/kitchenscale/app.index/search_column');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/search_column', 'app/kitchenscale/testapp.index/search_column');
|
|
|
|
|
|
|
2025-01-22 12:31:08 +08:00
|
|
|
|
|
|
|
|
|
|
// 菜谱内容################################################################
|
|
|
|
|
|
// 添加菜谱
|
|
|
|
|
|
Route::any('/kitchenscale/add_cookbook', 'app/kitchenscale/app.cookbook/add_cookbook');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/add_cookbook', 'app/kitchenscale/testapp.cookbook/add_cookbook');
|
2025-04-03 18:19:04 +08:00
|
|
|
|
// 修改菜谱
|
|
|
|
|
|
Route::any('/kitchenscale/update_cookbook', 'app/kitchenscale/app.cookbook/update_cookbook');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/update_cookbook', 'app/kitchenscale/testapp.cookbook/update_cookbook');
|
|
|
|
|
|
|
2025-01-22 12:31:08 +08:00
|
|
|
|
// 根据菜谱标签查询列表(首页用)
|
|
|
|
|
|
Route::any('/kitchenscale/find_by_cook_label', 'app/kitchenscale/app.cookbook/find_by_cook_label');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/find_by_cook_label', 'app/kitchenscale/testapp.cookbook/find_by_cook_label');
|
|
|
|
|
|
// 根据食材详细查找列表
|
|
|
|
|
|
Route::any('/kitchenscale/find_by_food', 'app/kitchenscale/app.cookbook/find_by_food');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/find_by_food', 'app/kitchenscale/testapp.cookbook/find_by_food');
|
|
|
|
|
|
// 查询食谱的详情
|
|
|
|
|
|
Route::any('/kitchenscale/cookbook_details', 'app/kitchenscale/app.cookbook/cookbook_details');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/cookbook_details', 'app/kitchenscale/testapp.cookbook/cookbook_details');
|
|
|
|
|
|
// 关注菜谱
|
|
|
|
|
|
Route::any('/kitchenscale/cookbook_follow', 'app/kitchenscale/app.cookbook/cookbook_follow');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/cookbook_follow', 'app/kitchenscale/testapp.cookbook/cookbook_follow');
|
|
|
|
|
|
// 收藏菜谱
|
|
|
|
|
|
Route::any('/kitchenscale/cookbook_like', 'app/kitchenscale/app.cookbook/cookbook_like');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/cookbook_like', 'app/kitchenscale/testapp.cookbook/cookbook_like');
|
2025-03-07 18:13:24 +08:00
|
|
|
|
// 获取当前食材重量卡路里
|
|
|
|
|
|
Route::any('/kitchenscale/food_count_kcal', 'app/kitchenscale/app.cookbook/food_count_kcal');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/food_count_kcal', 'app/kitchenscale/testapp.cookbook/food_count_kcal');
|
2025-03-12 18:03:31 +08:00
|
|
|
|
// 获取当前食材重量卡路里
|
|
|
|
|
|
Route::any('/kitchenscale/find_food', 'app/kitchenscale/app.cookbook/find_food');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/find_food', 'app/kitchenscale/testapp.cookbook/find_food');
|
2025-03-14 18:46:26 +08:00
|
|
|
|
// 获取当前食材重量卡路里
|
|
|
|
|
|
Route::any('/kitchenscale/get_food_list', 'app/kitchenscale/app.cookbook/get_food_list');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_food_list', 'app/kitchenscale/testapp.cookbook/get_food_list');
|
|
|
|
|
|
// 获取所有食谱label
|
|
|
|
|
|
Route::any('/kitchenscale/get_cookbook_label_list', 'app/kitchenscale/app.cookbook/get_cookbook_label_list');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_cookbook_label_list', 'app/kitchenscale/testapp.cookbook/get_cookbook_label_list');
|
2025-07-23 21:32:05 +08:00
|
|
|
|
// 获取查询页页面导航食材列表
|
|
|
|
|
|
Route::any('/kitchenscale/get_search_food_page_list', 'app/kitchenscale/app.cookbook/get_search_food_page_list');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_search_food_page_list', 'app/kitchenscale/testapp.cookbook/get_search_food_page_list');
|
2025-03-12 18:03:31 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 计食器################################################################
|
2025-04-03 18:19:04 +08:00
|
|
|
|
// 添加每日摄入记录
|
|
|
|
|
|
Route::any('/kitchenscale/add_intake_food', 'app/kitchenscale/app.countfood/add_intake_food');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/add_intake_food', 'app/kitchenscale/testapp.countfood/add_intake_food');
|
|
|
|
|
|
// 获取记食器板块内容
|
|
|
|
|
|
Route::any('/kitchenscale/get_countfoot_content', 'app/kitchenscale/app.countfood/get_countfoot_content');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_countfoot_content', 'app/kitchenscale/testapp.countfood/get_countfoot_content');
|
|
|
|
|
|
// 获取记食器记录
|
|
|
|
|
|
Route::any('/kitchenscale/get_log_list', 'app/kitchenscale/app.countfood/get_log_list');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_log_list', 'app/kitchenscale/testapp.countfood/get_log_list');
|
|
|
|
|
|
// 计食器板块-设置内容
|
|
|
|
|
|
Route::any('/kitchenscale/set_up_content', 'app/kitchenscale/app.countfood/set_up_content');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/set_up_content', 'app/kitchenscale/testapp.countfood/set_up_content');
|
|
|
|
|
|
// 设置用户的卡路里
|
|
|
|
|
|
Route::any('/kitchenscale/set_user_kcal', 'app/kitchenscale/app.countfood/set_user_kcal');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/set_user_kcal', 'app/kitchenscale/testapp.countfood/set_user_kcal');
|
2025-09-03 19:09:13 +08:00
|
|
|
|
// 删除用户某个饮食记录
|
|
|
|
|
|
Route::any('/kitchenscale/del_user_eat_log', 'app/kitchenscale/app.countfood/del_user_eat_log');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/del_user_eat_log', 'app/kitchenscale/testapp.countfood/del_user_eat_log');
|
2025-04-03 18:19:04 +08:00
|
|
|
|
|
2025-03-12 18:03:31 +08:00
|
|
|
|
|
|
|
|
|
|
// 我的################################################################
|
2025-04-03 18:19:04 +08:00
|
|
|
|
// 获取角色信息
|
|
|
|
|
|
Route::any('/kitchenscale/get_user_msg', 'app/kitchenscale/app.usercenter/get_user_msg');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_user_msg', 'app/kitchenscale/testapp.usercenter/get_user_msg');
|
|
|
|
|
|
// 修改角色信息
|
|
|
|
|
|
Route::any('/kitchenscale/update_user_msg', 'app/kitchenscale/app.usercenter/update_user_msg');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/update_user_msg', 'app/kitchenscale/testapp.usercenter/update_user_msg');
|
2025-03-12 18:03:31 +08:00
|
|
|
|
// 账号收藏点赞列表
|
|
|
|
|
|
Route::any('/kitchenscale/get_user_collect_list', 'app/kitchenscale/app.usercenter/get_user_collect_list');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_user_collect_list', 'app/kitchenscale/testapp.usercenter/get_user_collect_list');
|
|
|
|
|
|
// 我的菜谱
|
|
|
|
|
|
Route::any('/kitchenscale/get_my_cookbook', 'app/kitchenscale/app.usercenter/get_my_cookbook');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/get_my_cookbook', 'app/kitchenscale/testapp.usercenter/get_my_cookbook');
|
2025-04-03 18:19:04 +08:00
|
|
|
|
// 菜谱删除
|
|
|
|
|
|
Route::any('/kitchenscale/del_my_cookbook', 'app/kitchenscale/app.usercenter/del_my_cookbook');
|
|
|
|
|
|
Route::any('/testedition/kitchenscale/del_my_cookbook', 'app/kitchenscale/testapp.usercenter/del_my_cookbook');
|
|
|
|
|
|
|
2025-07-23 21:32:05 +08:00
|
|
|
|
// 百度图片识别接口################################################################
|
|
|
|
|
|
// 获取AccessToken
|
|
|
|
|
|
// Route::any('/kitchenscale/baidu_get_accesstoken', 'app/kitchenscale/app.aipart/baidu_get_accesstoken');
|
|
|
|
|
|
// Route::any('/testedition/kitchenscale/baidu_get_accesstoken', 'app/kitchenscale/testapp.aipart/baidu_get_accesstoken');
|
|
|
|
|
|
// 识别食材
|
|
|
|
|
|
Route::any('/kitchenscale/baidu_identify_food', 'app/kitchenscale/app.aipart/baidu_identify_food');
|
|
|
|
|
|
|
2025-03-12 18:03:31 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 测试用内容################################################################
|
|
|
|
|
|
Route::any('/kitchenscale/get_default_configuration', 'app/kitchenscale/app.product/get_default_configuration');
|
|
|
|
|
|
// Route::any('/kitchenscale/getRelatedConfigurations', 'app/kitchenscale/app.product/getRelatedConfigurations');
|
|
|
|
|
|
// Route::any('/kitchenscale/getOptionConfigurations', 'app/kitchenscale/app.product/getOptionConfigurations');
|
2024-11-29 18:46:37 +08:00
|
|
|
|
|
2025-08-02 23:03:04 +08:00
|
|
|
|
#########################################################管理后台############################################################
|
|
|
|
|
|
|
|
|
|
|
|
// 图片选择上传
|
|
|
|
|
|
Route::any('/k/admin/pic', 'app/kitchenscale/admin.base/pic_index');
|
|
|
|
|
|
Route::any('/k/admin/pic_upload_action', 'app/kitchenscale/admin.base/pic_upload_action');
|
|
|
|
|
|
|
|
|
|
|
|
// 登录页
|
|
|
|
|
|
Route::any('/k/a/login', 'app/kitchenscale/admin.login/login');
|
|
|
|
|
|
Route::any('/k/a/login_action', 'app/kitchenscale/admin.login/login_action');
|
|
|
|
|
|
// 首页
|
|
|
|
|
|
Route::any('/k/a/index', 'app/kitchenscale/admin.index/index');
|
|
|
|
|
|
Route::any('/k/a/welcome', 'app/kitchenscale/admin.index/welcome');
|
|
|
|
|
|
// 食谱页
|
|
|
|
|
|
Route::any('/k/a/cookbook/index', 'app/kitchenscale/admin.cookbook/index');
|
|
|
|
|
|
Route::any('/k/a/cookbook/add_cookbook', 'app/kitchenscale/admin.cookbook/add_cookbook');
|
|
|
|
|
|
Route::any('/k/a/cookbook/add_cookbook_action', 'app/kitchenscale/admin.cookbook/add_cookbook_action');
|
|
|
|
|
|
Route::any('/k/a/cookbook/find_food_list', 'app/kitchenscale/admin.cookbook/find_food_list');
|
|
|
|
|
|
Route::any('/k/a/cookbook/stop_and_run', 'app/kitchenscale/admin.cookbook/stop_and_run');
|
|
|
|
|
|
|
2024-11-23 16:46:38 +08:00
|
|
|
|
|
2024-09-24 18:40:30 +08:00
|
|
|
|
|
2025-09-03 19:09:13 +08:00
|
|
|
|
################################################################下面是增杰SN码打印################################################################
|
|
|
|
|
|
################################################################################################################################################
|
|
|
|
|
|
Route::any('/z/config_msg', 'app/ZengJieCode/app.savemsg/config_msg');
|
|
|
|
|
|
Route::any('/z/save_sn_msg', 'app/ZengJieCode/app.savemsg/save_sn_msg');
|
|
|
|
|
|
Route::any('/z/save_box_msg', 'app/ZengJieCode/app.savemsg/save_box_msg');
|
2025-09-04 07:00:15 +08:00
|
|
|
|
// 测试用
|
|
|
|
|
|
Route::any('/z/ceshiyong', 'app/ZengJieCode/app.savemsg/ceshiyong');
|
2025-09-03 19:09:13 +08:00
|
|
|
|
// 重新打印
|
|
|
|
|
|
Route::any('/z/print_again', 'app/ZengJieCode/app.savemsg/print_again');
|
|
|
|
|
|
|
2025-09-04 07:00:15 +08:00
|
|
|
|
Route::any('/z/print_device_data_index', 'app/ZengJieCode/admin.printaction/print_device_data_index');
|
2025-09-04 22:27:21 +08:00
|
|
|
|
Route::any('/z/print_outside_box_index', 'app/ZengJieCode/admin.printaction/print_outside_box_index');
|
2025-09-03 19:09:13 +08:00
|
|
|
|
|
|
|
|
|
|
// 获取蓝牙录入的未打印条码
|
|
|
|
|
|
Route::any('/z/print_device_barcode', 'app/ZengJieCode/admin.printaction/print_device_barcode');
|
|
|
|
|
|
// 获取扫描后的未打印条码
|
|
|
|
|
|
Route::any('/z/print_scan_barcode', 'app/ZengJieCode/admin.printaction/print_scan_barcode');
|
|
|
|
|
|
// 获取大箱没打印的条码
|
|
|
|
|
|
Route::any('/z/print_combined_code', 'app/ZengJieCode/admin.printaction/print_combined_code');
|
|
|
|
|
|
|
2025-09-04 07:00:15 +08:00
|
|
|
|
|
|
|
|
|
|
|
2025-09-03 19:09:13 +08:00
|
|
|
|
################################################################下面是设备入库录入################################################################
|
|
|
|
|
|
################################################################################################################################################
|
|
|
|
|
|
// 默认配置
|
2025-09-26 16:35:42 +08:00
|
|
|
|
Route::any('/de/login', 'app/DeviceEnter/Wechat/login');
|
|
|
|
|
|
// 默认配置
|
2025-09-03 19:09:13 +08:00
|
|
|
|
Route::any('/de/config_msg', 'app/DeviceEnter/savemsg/config_msg');
|
|
|
|
|
|
// 存入设备信息
|
|
|
|
|
|
Route::any('/de/save_device_msg', 'app/DeviceEnter/savemsg/save_device_msg');
|
|
|
|
|
|
// 获取设备批次列表
|
|
|
|
|
|
Route::any('/de/device_batch_list', 'app/DeviceEnter/savemsg/device_batch_list');
|
2025-09-26 16:35:42 +08:00
|
|
|
|
// 详细批次数据
|
|
|
|
|
|
Route::any('/de/device_content_msg', 'app/DeviceEnter/savemsg/device_content_msg');
|
|
|
|
|
|
// 详细批次数据
|
|
|
|
|
|
Route::any('/de/ceshi', 'app/DeviceEnter/savemsg/ceshi');
|
|
|
|
|
|
################################################################管理后台
|
|
|
|
|
|
// 登录页
|
|
|
|
|
|
Route::any('/de/admin/login', 'app/DeviceEnter/admin.login/login');
|
|
|
|
|
|
Route::any('/de/admin/login_a', 'app/DeviceEnter/admin.login/login_action');
|
|
|
|
|
|
|
|
|
|
|
|
// 首页
|
|
|
|
|
|
Route::any('/de/admin/index', 'app/DeviceEnter/admin.index/index');
|
|
|
|
|
|
Route::any('/de/admin/welcome', 'app/DeviceEnter/admin.index/welcome');
|
|
|
|
|
|
|
|
|
|
|
|
// 设备管理
|
|
|
|
|
|
Route::any('/de/admin/device/index', 'app/DeviceEnter/admin.device/index');
|
|
|
|
|
|
Route::any('/de/admin/device/device_list', 'app/DeviceEnter/admin.device/device_list');
|
|
|
|
|
|
Route::any('/de/admin/device/device_all', 'app/DeviceEnter/admin.device/device_all');
|
2025-09-03 19:09:13 +08:00
|
|
|
|
|
2025-10-11 18:11:41 +08:00
|
|
|
|
################################################################下面是新版reedaw(体侧+厨房秤)################################################################
|
|
|
|
|
|
#############################################################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
################################################################接口(管理后台)
|
|
|
|
|
|
################################################################接口(API)
|
|
|
|
|
|
// 默认配置
|
|
|
|
|
|
Route::any('/reedaw/config', 'app/NewReedaw/app.index/config');
|
|
|
|
|
|
|
|
|
|
|
|
################################################################登录注册部分
|
|
|
|
|
|
// 注册账号
|
|
|
|
|
|
Route::any('/reedaw/register', 'app/NewReedaw/app.login/register');
|
|
|
|
|
|
// 登录账号
|
|
|
|
|
|
Route::any('/reedaw/login', 'app/NewReedaw/app.login/login');
|
2025-10-13 03:35:56 +08:00
|
|
|
|
// 重置密码
|
|
|
|
|
|
Route::any('/reedaw/reset_password', 'app/NewReedaw/app.login/reset_password');
|
|
|
|
|
|
// 微信快捷登录
|
|
|
|
|
|
Route::any('/reedaw/wechat_quick_login', 'app/NewReedaw/app.login/wechat_quick_login');
|
|
|
|
|
|
// 退出登录
|
|
|
|
|
|
Route::any('/reedaw/quit_account', 'app/NewReedaw/app.login/quit_account');
|
|
|
|
|
|
// 账号注销
|
|
|
|
|
|
Route::any('/reedaw/delete_account', 'app/NewReedaw/app.login/delete_account');
|
|
|
|
|
|
// 发送验证码
|
|
|
|
|
|
Route::any('/reedaw/send_phone_email_code', 'app/NewReedaw/app.login/send_phone_email_code');
|
|
|
|
|
|
|
|
|
|
|
|
################################################################首页金刚区部分
|
|
|
|
|
|
// 遗传身高
|
|
|
|
|
|
Route::any('/reedaw/genetic_height', 'app/NewReedaw/app.index/genetic_height');
|
|
|
|
|
|
// BMI测评
|
|
|
|
|
|
Route::any('/reedaw/bmi_evaluation', 'app/NewReedaw/app.index/bmi_evaluation');
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-10-11 18:11:41 +08:00
|
|
|
|
################################################################角色部分
|
|
|
|
|
|
// 创建角色
|
|
|
|
|
|
Route::any('/reedaw/add_member', 'app/NewReedaw/app.role/add_member');
|
|
|
|
|
|
// 更新角色
|
|
|
|
|
|
Route::any('/reedaw/update_member', 'app/NewReedaw/app.role/update_member');
|
|
|
|
|
|
// 获取角色列表
|
|
|
|
|
|
Route::any('/reedaw/role_list', 'app/NewReedaw/app.role/role_list');
|
|
|
|
|
|
################################################################身体报告部分
|
|
|
|
|
|
// 获取角色报告
|
|
|
|
|
|
Route::any('/reedaw/body_report', 'app/NewReedaw/app.body/body_report');
|
2025-09-03 19:09:13 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-06 18:21:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-04-29 16:42:30 +08:00
|
|
|
|
// // ################################################################其它测试################################################################
|
|
|
|
|
|
// // ################################################################其它测试################################################################
|
2024-12-26 19:14:44 +08:00
|
|
|
|
Route::any('/is_wechat', 'admin/download/is_wechat');
|
2024-07-08 08:20:57 +08:00
|
|
|
|
Route::any('/use_test', 'admin/base/use_test');
|
2024-05-24 10:10:28 +08:00
|
|
|
|
// Route::any('/skip_kcal_calculate', 'app/skip/skip_kcal_calculate');
|
|
|
|
|
|
// Route::any('/readexcel', 'admin/execlaa/readexcel');
|
2024-05-27 18:42:33 +08:00
|
|
|
|
// Route::any('/vitalcapacity_standard_interval', 'app/vitalcapacity/vitalcapacity_standard_interval');
|
2024-12-07 18:56:07 +08:00
|
|
|
|
// 删除用户所有阅读记录
|
|
|
|
|
|
Route::any('/del_all_read_log', 'app/Msginformation/del_all_read_log');
|
|
|
|
|
|
Route::any('/testedition/del_all_read_log', 'testapp/Msginformation/del_all_read_log');
|
2024-05-16 18:43:34 +08:00
|
|
|
|
|
2024-08-23 17:54:14 +08:00
|
|
|
|
Route::any('/ceshiyong', 'app/base/ceshiyong');
|
2024-09-27 19:03:50 +08:00
|
|
|
|
Route::any('/testedition/ceshiyong', 'testapp/base/ceshiyong');
|
2024-04-03 18:15:07 +08:00
|
|
|
|
|
2025-04-03 18:19:04 +08:00
|
|
|
|
Route::any('/kitchenscale/chuli_shuju', 'app/kitchenscale/app.cookbook/chuli_shuju');
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-07-23 21:32:05 +08:00
|
|
|
|
// 测试用控制器
|
|
|
|
|
|
Route::any('/readExcelFile_a', 'test/testuse/readExcelFile_a');
|
|
|
|
|
|
Route::any('/readExcelFile_b', 'test/testuse/readExcelFile_b');
|
|
|
|
|
|
Route::any('/save_caidan_content', 'test/testuse/save_caidan_content');
|
|
|
|
|
|
Route::any('/caipu_shuju_chuli', 'test/testuse/caipu_shuju_chuli');
|
|
|
|
|
|
Route::any('/clean_data_all_page', 'test/testuse/clean_data_all_page');
|
|
|
|
|
|
Route::any('/clean_data_all', 'test/testuse/clean_data_all');
|
|
|
|
|
|
Route::any('/download_picture_api', 'test/testuse/download_picture_api');
|
|
|
|
|
|
Route::any('/update_cookbook_data_api', 'test/testuse/update_cookbook_data_api');
|
|
|
|
|
|
Route::any('/cun_bendi_pic', 'test/testuse/cun_bendi_pic');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-06-07 16:49:19 +08:00
|
|
|
|
|
|
|
|
|
|
// Route::any('/app_update_file/*', 'app/sportstesting/aaaaaaaaaaaaaaa');
|
2024-04-25 16:13:34 +08:00
|
|
|
|
// 处理404错误 z
|
|
|
|
|
|
Route::miss(function(){
|
2024-04-26 10:05:17 +08:00
|
|
|
|
return '404 Not Found(out)';
|
2024-04-25 16:13:34 +08:00
|
|
|
|
// 或者你可以重定向到一个错误页面,或者进行其他处理
|
|
|
|
|
|
});
|