李帅

1.删除作品

......@@ -100,4 +100,20 @@ class SettingController extends Controller
'absolute_path' => Storage::disk('public')->url($file),
]);
}
public function protocol()
{
return view('protocol');
}
public function agreement()
{
return view('protocol');
}
public function delete_data()
{
return view('delete_data');
}
}
......
<p>隐私权限政策网址</p>
\ No newline at end of file
<p>数据删除说明网址</p>
\ No newline at end of file
<p>服务条款网址</p>
\ No newline at end of file
......@@ -16,7 +16,17 @@ use Illuminate\Support\Facades\Route;
Route::namespace('App\Http\Controllers\V1')->group(function (){
/** web用户跳转登录*/
Route::get('auth/{service}', 'AuthController@redirectToProvider');
Route::get('auth/{service}/callback', 'AuthController@handleProviderCallback');
// 用户数据删除
Route::get('delete_data', 'SettingController@delete_data');
// 隐私权限政策网址
Route::get('agreement', 'SettingController@agreement');
// 服务条款网址
Route::get('protocol', 'SettingController@protocol');
});
......