fix: 小程序结果/选题页与 Test 路由及分享逻辑
1、修复了 result 与 test 各题型页及 test-select 的跳转与数据问题。 2、调整 api/Test 与 route 注册。 3、优化 app 入口与 share 工具。 Made-with: Cursor
This commit is contained in:
@@ -23,6 +23,8 @@ Route::group('api', function () {
|
||||
Route::post('analyze', 'api.Analyze/index');
|
||||
// 小程序埋点批量上报(无需登录;带 token 时关联 user_id)
|
||||
Route::post('analytics/events', 'api.Analytics/batch');
|
||||
// 好友打开分享卡片:凭 st 校验查看他人测试结果(无需登录)
|
||||
Route::get('test/share-detail', 'api.Test/shareDetail');
|
||||
})->middleware('cors');
|
||||
|
||||
// 前端需要认证的API路由
|
||||
|
||||
Reference in New Issue
Block a user