1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?php
- namespace app\api\route;
- use app\api\middleware\AllowOriginMiddleware;
- use app\api\middleware\SeretKeyMiddleware;
- use app\api\middleware\UserMiddleware;
- use think\facade\Config;
- use think\facade\Route;
- use think\Response;
- /**
- * 无需授权的接口
- */
- Route::group('user',function () {
- //地址
- Route::get('address/detail/:id', 'v1.user/address')->name('address');//获取单个地址
- Route::get('address/list', 'v1.user/address_list')->name('addressList');//地址列表
- Route::post('address/default/set', 'v1.user/address_default_set')->name('addressDefaultSet');//设置默认地址
- Route::get('address/default', 'v1.user/address_default')->name('addressDefault');//获取默认地址
- Route::post('address/edit', 'v1.user/address_edit')->name('addressEdit');//修改 添加 地址
- Route::post('address/del', 'v1.user/address_del')->name('addressDel');//删除地址
- //基本信息
- Route::rule('init','v1.user/init');
- //获取微信信息
- Route::rule('getInfo', 'v1.weixin/getInfo');
- //获取小程序信息
- Route::rule('mp_auth', 'v1.weixin/mp_auth');
- //会员数据
- Route::rule('index', 'v1.user/index');
- //平台数据
- Route::rule('warehouse', 'v1.user/warehouse');
- //getPayOrder
- Route::rule('getPayOrder','v1.user/getPayOrder');
- //查看订单详情
- Route::rule('orderSubItem','v1.user/orderSubItem');
- //订单初始化数据
- Route::rule('orderInit','v1.user/orderInit');
- //订单下载
- Route::rule('orderDown','v1.user/orderDown');
- //充值
- Route::rule('rechargeX','v1.user/rechargeX');
- //资金情况
- Route::rule('rechargeInit','v1.user/rechargeInit');
- //明细数据
- Route::rule('detailList','v1.user/detailList');
- //我要提现
- Route::rule('subTx','v1.user/subTx');
- //提现列表
- Route::rule('txList','v1.user/txList');
- //订单详情
- Route::rule('orderInfoItem','v1.user/orderInfoItem');
- //提交问题反馈
- Route::rule('subOrderInfoMono','v1.user/subOrderInfoMono');
- //底单申请
- Route::rule('subOrderDdInfo','v1.user/subOrderDdInfo');
- //售后订单
- Route::rule('orderMonoList','v1.user/orderMonoList');
- //取消问题单
- Route::rule('orderMonoCancel','v1.user/orderMonoCancel');
- //底单申请
- Route::rule('orderDdList','v1.user/orderDdList');
- //底单取消
- Route::rule('orderDbCancel','v1.user/orderDbCancel');
- //佣金奖励
- Route::rule('extension','v1.user/extension');
- //检查充值
- Route::rule('checkRecharge','v1.user/checkRecharge');
- //修改基本信息
- Route::rule('account','v1.user/account');
- //修改密码
- Route::rule('password','v1.user/password');
- //推广显示
- Route::rule('extensionList','v1.user/extensionList');
- //绑定微信
- Route::rule('bind','v1.user/bind');
- //取消绑定
- Route::rule('delbind','v1.user/delbind');
- //vip
- Route::rule('vip','v1.user/vip');
- //rechargeXinit
- Route::rule('rechargeXinit','v1.user/rechargeXinit');
- //会员店铺
- Route::rule('shop','v1.user/shop');
- //会员店铺删除
- Route::rule('shopDel','v1.user/shopDel');
- //微信充值
- Route::rule('wxRecharge', 'v1.weixin/recharge');
- })->middleware([
- AllowOriginMiddleware::class,
- UserMiddleware::class
- ]);
|