manghe/app/api/route/app.php
2025-06-22 19:12:07 +08:00

377 lines
17 KiB
PHP
Executable File

<?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>
// +----------------------------------------------------------------------
namespace app\api;
use think\facade\Route;
#============================
#Login.php登录
#============================
Route::any('login', 'Login/login');
Route::any('mobileLogin', 'Login/mobileLogin');
Route::any('login_bind_mobile', 'Login/login_bind_mobile');
#Index.php首页
#============================
Route::any('index', 'Index/index');
Route::any('getAdvert', 'Index/getAdvert');
Route::any('record', 'Index/record');
Route::any('user_yaoqing', 'Index/get_user_yaoqing');
// Route::any('yushourili', 'Index/yushourili');
Route::any('danye', 'Index/danye');
Route::any('getDanye', 'Index/getDanye');
Route::any('getAgreement', 'Index/getDanye');
#============================
#User.php个人中心
#============================
Route::any('user', 'User/user');
Route::any('userInfo', 'User/userInfo');
Route::any('update_userinfo', 'User/update_userinfo');
Route::any('vip_list', 'User/vip_list');
Route::any('profitIntegral', 'User/profitIntegral');
Route::any('profitMoney', 'User/profitMoney');
Route::any('profitMoney2', 'User/profitMoney2');
Route::any('profitScore', 'User/profitScore');
Route::any('profitPay', 'User/profitPay');
Route::any('coupon_list', 'User/coupon_list');
Route::any('coupon_share', 'User/coupon_share');
Route::any('coupon_detail', 'User/coupon_detail');
Route::any('coupon_ling', 'User/coupon_ling');
Route::any('coupon_ji_suan', 'User/coupon_ji_suan');
Route::any('coupon_synthesis', 'User/coupon_synthesis');
Route::any('invitation', 'User/invitation');
Route::any('invitation_commission', 'User/invitation_commission');
Route::any('recharge', 'User/recharge');
Route::any('item_card_list', 'User/item_card_list');
Route::any('bind_invite_code', 'User/bind_invite_code');
Route::any('user_log_off', 'User/user_log_off');
Route::any('deleteAccount', 'User/user_log_off');
#Rank.php排行榜
#============================
Route::any('rank_week', 'Rank/rank_week');
Route::any('rank_month', 'Rank/rank_month');
//任务
Route::any('task_list', 'TaskList/task_list');
Route::any('ling_task', 'TaskList/ling_task');
//权益中心
Route::any('quan_yi', 'QuanYi/quan_yi');
Route::any('quan_yi_ling', 'QuanYi/quan_yi_ling');
#============================
#Goods.php盒子管理
#============================
Route::any('goods', 'Goods/goods');
Route::any('goodsdetail', 'Goods/goodsdetail');
Route::any('goods_children', 'Goods/getGoodsChildren');
Route::any('goodslist_count', 'Goods/goodslist_count');
Route::any('goodslist_content', 'Goods/goodslist_content');
Route::any('shang_log', 'Goods/shang_log');
Route::any('listCollect', 'Goods/listCollect');
Route::any('addCollect', 'Goods/addCollect');
Route::any('delCollect', 'Goods/delCollect');
Route::any('ordermoney', 'Goods/ordermoney');
Route::any('orderbuy', 'Goods/orderbuy');
Route::any('prizeorderlog', 'Goods/prizeorderlog');
Route::any('luck_draw_log', 'Goods/luck_draw_log');
Route::any('getGoodExtend', 'Goods/getGoodExtend');
//首页弹出优惠券
Route::any('coupon', 'Coupon/index');
Route::any('receive', 'Coupon/receive');
Route::any('used', 'Coupon/used');
Route::any('get_coupon_list', 'Coupon/get_coupon_list');
#============================
#Infinite.php 无限赏管理
#============================
Route::any('infinite_goodsdetail', 'Infinite/infinite_goodsdetail');
Route::any('infinite_goodsdetail2', 'Infinite/infinite_goodsdetail2');
Route::any('infinite_shang_log', 'Infinite/infinite_shang_log');
Route::any('infinite_ordermoney', 'Infinite/infinite_ordermoney');
Route::any('infinite_orderbuy', 'Infinite/infinite_orderbuy');
Route::any('infinite_mibao_orderbuy', 'Infinite/infinite_mibao_orderbuy');
Route::any('infinite_prizeorderlog', 'Infinite/infinite_prizeorderlog');
Route::any('infinite_give_list', 'Infinite/infinite_give_list');
Route::any('infinite_give_goods', 'Infinite/infinite_give_goods');
Route::any('item_card_chou', 'Infinite/item_card_chou');
Route::any('do_draw', 'Infinite/do_draw'); #抽奖券抽奖
Route::any('ling_zhu_king', 'Infinite/ling_zhu_king'); #领主
Route::any('infinite_prizerecords', 'Infinite/infinite_prizerecords'); #中奖记录
#============================
#Warehouse.php 仓库管理
#============================
Route::any('warehouse_index', 'Warehouse/warehouse_index');
Route::any('warehouse_carddetail_log', 'Warehouse/warehouse_carddetail_log');
Route::any('warehouse_recovery', 'Warehouse/warehouse_recovery');
Route::any('warehouse_send', 'Warehouse/warehouse_send');
Route::any('warehouse_movein', 'Warehouse/warehouse_movein');
Route::any('warehouse_remove', 'Warehouse/warehouse_remove');
Route::any('warehouse_recovery_record', 'Warehouse/warehouse_recovery_record');
Route::any('warehouse_send_record', 'Warehouse/warehouse_send_record');
Route::any('warehouse_send_record_detail', 'Warehouse/warehouse_send_record_detail');
Route::any('warehouse_send_confirm', 'Warehouse/warehouse_send_confirm');
Route::any('warehouse_order_logistics', 'Warehouse/warehouse_order_logistics');
#============================
#Notify.php通知回调
#============================
Route::any('user_sign_list', 'User/user_sign_list');
Route::any('user_sign', 'User/user_sign');
Route::any('shop_seckill_index', 'Seckill/shop_seckill_index');
Route::any('shop_seckill_product', 'Seckill/shop_seckill_product');
Route::any('shop_goods_detail', 'Seckill/shop_goods_detail');
Route::any('shop_goods_share', 'Seckill/shop_goods_share');
Route::any('shop_goods_detail_spec', 'Seckill/shop_goods_detail_spec');
Route::any('shop_goods_browse', 'Seckill/shop_goods_browse');
Route::any('shop_order_buy', 'Seckill/shop_order_buy');
Route::any('seckill_order_list', 'Seckill/seckill_order_list');
Route::any('seckill_order_detail', 'Seckill/seckill_order_detail');
Route::any('seckill_order_confirm', 'Seckill/seckill_order_confirm');
Route::any('seckill_order_logistics', 'Seckill/seckill_order_logistics');
// 添加新的支付通知动态路由(所有参数必选)
Route::any('notify/<payment_type>/<order_type>/<user_id>/<order_num>/<timestamp>/<sign>', 'Notify/order_notify_new');
//https://testapi.zfunbox.cn/notify/wxpay/order_wxs/21623/MH_DEAMH202504245256999793456/1745435988/6154CF0189BBDF73C7AD0E5246B5397B
// 添加测试路由
Route::any('test_notify_url', 'Notify/test_notify_url');
Route::any('generate_urllink', 'Index/generate_urllink');
Route::any('generate_urllinks', 'Index/generate_urllinks');
//
Route::any('mall_ordermoney', 'Mall/mall_ordermoney');
Route::any('mall_orderbuy', 'Mall/mall_orderbuy');
// 添加API路由
Route::rule('goods_receive_sync', 'Goods/receive_sync', 'POST');
// 配置信息接口
Route::rule('config', 'Config/index', 'GET');
Route::rule('getPlatformConfig', 'Config/getPlatformConfig', 'GET');
#============================
#WelfareHouse.php福利屋
#============================
Route::any('welfare_house_list', 'WelfareHouse/getList');
#============================
# 签到管理
#============================
Route::rule('sign', 'Sign/signAdd', 'POST');
Route::rule('sign_info', 'Sign/info', 'POST');
#============================
# 福利屋
#============================
Route::any('fuliwu', 'FuLiWu/index');
Route::any('fuliwu_detail', 'FuLiWu/fuliwu_detail');
Route::any('fuliwu_participants', 'FuLiWu/fuliwu_participants');
Route::any('fuliwu_records', 'FuLiWu/fuliwu_records');
Route::any('fuliwu_user_records', 'FuLiWu/fuliwu_user_records');
Route::any('fuliwu_user_winning_records', 'FuLiWu/fuliwu_user_winning_records');
// 添加记录登录的路由
Route::rule('login_record', 'Login/recordLogin', 'GET|POST');
Route::any('advlist', 'Index/getAdvert');
Route::any('recordConsume', 'Index/record');
Route::any('getPeopleList', 'Index/get_user_yaoqing');
Route::any('getRankList', 'Index/getRankList');
#============================
#Order.php订单管理
#============================
Route::any('order_list', 'Order/getOrderList');
Route::any('order_detail', 'Order/getOrderDetail');
Route::any('send_web_pay_order', 'Order/sendWebPayOrder');
Route::any('get_order_status', 'Order/getOrderStatus');
Route::any('create_web_pay_order', 'Order/createWebPayOrderNotify');
Route::any('get_order_url_link', 'Order/getOrderUrlLink');
#============================
#FloatBall.php悬浮球
#============================
Route::any('getFloatBall', 'Index/getFloatBall');
#============================
#Other.php其他
#============================
#=============用户地址管理=============
Route::any('addAddress', 'Other/addAddress');
Route::any('updateAddress', 'Other/updateAddress');
Route::any('getDefaultAddress', 'Other/getDefaultAddress');
Route::any('getAddressList', 'Other/getAddressList');
Route::any('deleteAddress', 'Other/deleteAddress');
Route::any('setDefaultAddress', 'Other/setDefaultAddress');
Route::any('getAddressDetail', 'Other/getAddressDetail');
Route::any('get_user_test', 'Other/get_user_info');
#=============用户地址管理=============
#============================
# 钻石管理
#============================
Route::any('get_diamond_list', 'Mall/get_diamond_list');
Route::any('createOrderProducts', 'Mall/createOrderProducts');
Route::any('get_diamond_order_log', 'Mall/get_diamond_order_log');
#============================
# 新闻管理
#============================
Route::any('get_featured_news_list', 'News/getFeaturedNewsList');
Route::any('get_hot_news_list', 'News/getHotNewsList');
Route::any('get_news_detail', 'News/getNewsDetail');
Route::any('get_follow_news_list', 'News/getFollowNewsList');
Route::any('user_favorite_news', 'News/addFavorite');
Route::any('user_cancel_favorite_news', 'News/cancelFavorite');
#============================APP使用的路由 ============================#
Route::any('V5Vx6qHOM5Ks9HqH', 'Login/login');
Route::any('jaqXJ27mqJMfwT7X', 'Login/mobileLogin');
Route::any('UaMT0s7a6Tcp68ES', 'Login/login_bind_mobile');
Route::any('uzkXfi3aqrPxOwVx', 'Index/index');
Route::any('jUWqHNXqWqHymL7G', 'Index/getAdvert');
Route::any('OsEY08acdMUJLinA', 'Index/record');
Route::any('dPBFE7ER4ER3tx9M', 'Index/get_user_yaoqing');
Route::any('pDuAywkYHE8aMGu1', 'Index/yushourili');
Route::any('qh2pr9Qw9yKAMNLj', 'Index/danye');
Route::any('JZtOYbXR8AEGKUWg', 'Index/getDanye');
Route::any('UbjzjiGRYmcrwSGk', 'User/user');
Route::any('tUHeVCHEKXlzlS6i', 'User/userInfo');
Route::any('R3Ef5VOuD8r0ppui', 'User/update_userinfo');
Route::any('9gW2EMkWiqA700iT', 'User/vip_list');
Route::any('VozzuydX97zs2K2m', 'User/profitIntegral');
Route::any('PEpnjtRYL5tSMUsQ', 'User/profitMoney');
Route::any('jZnrvnhsu9YD3aq0', 'User/profitMoney2');
Route::any('Z9nB5ICpuN8lSeNF', 'User/profitScore');
Route::any('2PrxJgPOvNLLZ3wL', 'User/profitPay');
Route::any('KjnLZIjXdvIMuN0c', 'User/coupon_list');
Route::any('LFEY5dstKfHbbKWM', 'User/coupon_share');
Route::any('4Jsjp31yYsRoDKIK', 'User/coupon_detail');
Route::any('hehKMxCrbMklXUyu', 'User/coupon_ling');
Route::any('ZQznmnloAwNbSD1j', 'User/coupon_ji_suan');
Route::any('nuuS8LIa4LFqiwRc', 'User/coupon_synthesis');
Route::any('nSLq0QtEPvnmaCWF', 'User/invitation');
Route::any('CrlvffgiKlrwzjRg', 'User/invitation_commission');
Route::any('X6FcS2EuEH1r80e5', 'User/recharge');
Route::any('Jlw1NJaCKZ93DhAE', 'User/item_card_list');
Route::any('kDNL8nJGnmkBqD9j', 'User/bind_invite_code');
Route::any('RiPSUOYHZTmcibQn', 'User/user_log_off');
Route::any('YwB275ZvymXhDCo2', 'Rank/rank_week');
Route::any('dhqQcz2xyLwF5VKd', 'Rank/rank_month');
Route::any('lxjvgIn18EYh4HEk', 'TaskList/task_list');
Route::any('RsGECp2HHQ3aLqfG', 'TaskList/ling_task');
Route::any('Tnm7eJPBx8NWfwl6', 'QuanYi/quan_yi');
Route::any('5daVifd7h1ZkkeK0', 'QuanYi/quan_yi_ling');
Route::any('6EIaFubsATIOZ9hl', 'Goods/goods');
Route::any('Nk1bMRPUF61iWsi7', 'Goods/goodsdetail');
Route::any('n5axbUIhMYAy6TfY', 'Goods/getGoodsChildren');
Route::any('veb70zJwwJHDMI9S', 'Goods/goodslist_count');
Route::any('8Ze0ha4kifRB4nAp', 'Goods/goodslist_content');
Route::any('YO2ovbwicGdMEVIx', 'Goods/shang_log');
Route::any('RhyndVu4zrHbNCBL', 'Goods/listCollect');
Route::any('ZPj1R6yZWxp4q5tk', 'Goods/addCollect');
Route::any('8UEzf5UdpF6kL2IE', 'Goods/delCollect');
Route::any('zIcjyr95SOrSqMJp', 'Goods/ordermoney');
Route::any('pgpbopUPsGIVwkEH', 'Goods/orderbuy');
Route::any('ax9oCnit4xamOea0', 'Goods/prizeorderlog');
Route::any('WTe02RCCzcQuWB8O', 'Goods/luck_draw_log');
Route::any('l7SS8UJyWmVqgn5A', 'Goods/getGoodExtend');
Route::any('ZxzXlPlR3zQirPHo', 'Coupon/index');
Route::any('SZV1hXTxnlbgCsar', 'Coupon/receive');
Route::any('ho4jLeYgxTIXCJJz', 'Coupon/used');
Route::any('JfijgbDwO6vYCUL8', 'Infinite/infinite_goodsdetail');
Route::any('HoNJBkSi81oXqZ09', 'Infinite/infinite_goodsdetail2');
Route::any('QrtlWVdsUxBD4IDz', 'Infinite/infinite_shang_log');
Route::any('AnVhkVhi8xvV1C0X', 'Infinite/infinite_ordermoney');
Route::any('IeKQBTNxAvPxeU6N', 'Infinite/infinite_orderbuy');
Route::any('Uf2QZcZrb18fABFW', 'Infinite/infinite_mibao_orderbuy');
Route::any('TYHw2hgmIQPDEAO2', 'Infinite/infinite_prizeorderlog');
Route::any('bx8RYbgmcUmY0BTu', 'Infinite/infinite_give_list');
Route::any('cVSCoaRtd4DBQ0cT', 'Infinite/infinite_give_goods');
Route::any('Chuohq90E6tJvk1E', 'Infinite/item_card_chou');
Route::any('OkHTfWY9DN7LKEFH', 'Infinite/do_draw');
Route::any('TxxEokvevZYkSQjk', 'Infinite/ling_zhu_king');
Route::any('Xj0jMMReKxk2cctL', 'Infinite/infinite_prizerecords');
Route::any('xI1BLjpv7CGgUhlN', 'Warehouse/warehouse_index');
Route::any('mSCm3pRRr8HCOHor', 'Warehouse/warehouse_carddetail_log');
Route::any('mxHDL9ZVvBi1oxff', 'Warehouse/warehouse_recovery');
Route::any('mUnJRtJarmmSV84i', 'Warehouse/warehouse_send');
Route::any('k6GlTn098xCA57r0', 'Warehouse/warehouse_movein');
Route::any('Exno9nw3lICIom19', 'Warehouse/warehouse_remove');
Route::any('rKaTGDDugDFxKcYK', 'Warehouse/warehouse_recovery_record');
Route::any('5s6SivYQ3llZZQPK', 'Warehouse/warehouse_send_record');
Route::any('1wARbQmrM8bGyTB7', 'Warehouse/warehouse_send_record_detail');
Route::any('gIrJx5sYkaoZtiwL', 'Warehouse/warehouse_send_confirm');
Route::any('UpQTyaPMundlO2Cj', 'Warehouse/warehouse_order_logistics');
Route::any('FCR5HzabZ9OWpNs5', 'User/user_sign_list');
Route::any('YVb6LDzGDbRpJBNl', 'User/user_sign');
Route::any('ai1JduxPzfgKZdNn', 'Seckill/shop_seckill_index');
Route::any('Lpdi5D8l9LhJvOwq', 'Seckill/shop_seckill_product');
Route::any('fKxEHAOrBhROlQMp', 'Seckill/shop_goods_detail');
Route::any('C1AWmDYbrC8E9Odu', 'Seckill/shop_goods_share');
Route::any('pfKdFnbFGcRL6FQT', 'Seckill/shop_goods_detail_spec');
Route::any('etyaenGVmOTwE7lT', 'Seckill/shop_goods_browse');
Route::any('eSxvwRWyaJ5VdmJJ', 'Seckill/shop_order_buy');
Route::any('HivdyFPciPJMx29D', 'Seckill/seckill_order_list');
Route::any('RaFlJAy3F1M1Ztp9', 'Seckill/seckill_order_detail');
Route::any('UKO1p7LQrD8RAlKO', 'Seckill/seckill_order_confirm');
Route::any('pV5p3CKzHwvJV5LT', 'Seckill/seckill_order_logistics');
Route::any('cOvYC2bdAmNtyJdG', 'Notify/order_notify_new');
Route::any('pKslWLNruel0SUGX', 'Notify/test_notify_url');
Route::any('NmdnzxQb2bNvfh6m', 'Index/generate_urllink');
Route::any('KM7j1Aw5BONNspgt', 'Index/generate_urllinks');
Route::any('U8HcXYF5yipXe5If', 'Mall/mall_ordermoney');
Route::any('0JmNONDwLUvfwrao', 'Mall/mall_orderbuy');
Route::rule('SVmhU53ADdxw6qqM', 'Goods/receive_sync', 'POST');
Route::rule('EfMlEyahRrGiDpUj', 'Config/index', 'GET');
Route::rule('5YyqBPMWvu6Er9IQ', 'Config/getPlatformConfig', 'GET');
Route::any('9IbBAx29XNLlEfSC', 'WelfareHouse/getList');
Route::rule('ZdA6kxelmJsAPUyf', 'Sign/signAdd', 'POST');
Route::rule('cj7WB0177W19HMtb', 'Sign/info', 'POST');
Route::any('ImKE1OY8hg9182TI', 'FuLiWu/index');
Route::any('AGrR5bj7a3I723nc', 'FuLiWu/fuliwu_detail');
Route::any('4MPdCWvzmP69mhSl', 'FuLiWu/fuliwu_participants');
Route::any('09jxC6NPOm50Q0EY', 'FuLiWu/fuliwu_records');
Route::any('iaeMTp81CkBeb2gi', 'FuLiWu/fuliwu_user_records');
Route::any('nUEXuyrOf30zJpzB', 'FuLiWu/fuliwu_user_winning_records');
Route::rule('u4HoJ07k2TiDKJUV', 'Login/recordLogin', 'GET|POST');
Route::any('FLWNU98QJXZ39nee', 'Index/getAdvert');
Route::any('z3kj7701xjKBxGvu', 'Index/record');
Route::any('YwowxPmi0oxQdJc3', 'Index/get_user_yaoqing');
Route::any('3VJ0uTcUNTsnWjPh', 'Index/getRankList');
Route::any('crqAF99mALDslw1p', 'Order/getOrderList');
Route::any('vvroywHN4Eiq0Ta6', 'Order/getOrderDetail');
Route::any('IFb9nr8WgX2zEtc7', 'Order/sendWebPayOrder');
Route::any('gmOYxuquVxSdTylt', 'Order/getOrderStatus');
Route::any('5ZVlbAlWHo8KOOIj', 'Order/createWebPayOrderNotify');
Route::any('JIvNAoiUmUqSaWEA', 'Order/getOrderUrlLink');
Route::any('s5wML1OtLjqqVQAF', 'Index/getFloatBall');
Route::any('cNds60EdGSO7GxOr', 'Other/addAddress');
Route::any('14N4sJSbyWpFAXi9', 'Other/updateAddress');
Route::any('DT1RoK8GmGmuf0Nx', 'Other/getDefaultAddress');
Route::any('u7uU2UlP3nDWcbLH', 'Other/getAddressList');
Route::any('p9BhEGYid5AafzaP', 'Other/deleteAddress');
Route::any('C6GfCPJaq14LP3b3', 'Other/setDefaultAddress');
Route::any('Q9egwpgn1bTZZ4U4', 'Other/getAddressDetail');
Route::any('QF7ScfK4Fr227qeI', 'Other/get_user_info');
Route::any('ojLyj0koktDYXnp8', 'Mall/get_diamond_list');
Route::any('iZIGl26aoWCWNlp4', 'Mall/createOrderProducts');
Route::any('d30be5YtSFIqW3Af', 'Mall/get_diamond_order_log');