|
@@ -134,7 +134,6 @@ Route::prefix('client')->group(function () {
|
|
|
Route::get('{id}/code', [OrderController::class, 'generateCode']);
|
|
|
});
|
|
|
|
|
|
-
|
|
|
// 团队管理路由
|
|
|
Route::prefix('team')->group(function () {
|
|
|
Route::get('list', [MarketDistTeamController::class, 'index'])->name('team.list');
|
|
@@ -146,6 +145,15 @@ Route::prefix('client')->group(function () {
|
|
|
|
|
|
// 技师分组
|
|
|
Route::get('coach-groups', [App\Http\Controllers\Client\CoachGroupController::class, 'index']);
|
|
|
+
|
|
|
+ // 钱包相关
|
|
|
+ Route::prefix('wallet')->group(function () {
|
|
|
+ Route::get('records', [WalletController::class, 'records']);
|
|
|
+ // 取钱包信息
|
|
|
+ Route::get('wallet', [WalletController::class, 'wallet']);
|
|
|
+ // 提现
|
|
|
+ Route::post('withdraw', [WalletController::class, 'withdraw']);
|
|
|
+ });
|
|
|
});
|
|
|
});
|
|
|
|