Showing
5 changed files
with
30 additions
and
1 deletions
| ... | @@ -100,4 +100,20 @@ class SettingController extends Controller | ... | @@ -100,4 +100,20 @@ class SettingController extends Controller |
| 100 | 'absolute_path' => Storage::disk('public')->url($file), | 100 | 'absolute_path' => Storage::disk('public')->url($file), |
| 101 | ]); | 101 | ]); |
| 102 | } | 102 | } |
| 103 | + | ||
| 104 | + | ||
| 105 | + public function protocol() | ||
| 106 | + { | ||
| 107 | + return view('protocol'); | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public function agreement() | ||
| 111 | + { | ||
| 112 | + return view('protocol'); | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + public function delete_data() | ||
| 116 | + { | ||
| 117 | + return view('delete_data'); | ||
| 118 | + } | ||
| 103 | } | 119 | } | ... | ... |
resources/views/agreement.blade.php
0 → 100644
| 1 | +<p>隐私权限政策网址</p> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
resources/views/delete_data.blade.php
0 → 100644
| 1 | +<p>数据删除说明网址</p> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
resources/views/protocol.blade.php
0 → 100644
| 1 | +<p>服务条款网址</p> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -16,7 +16,17 @@ use Illuminate\Support\Facades\Route; | ... | @@ -16,7 +16,17 @@ use Illuminate\Support\Facades\Route; |
| 16 | Route::namespace('App\Http\Controllers\V1')->group(function (){ | 16 | Route::namespace('App\Http\Controllers\V1')->group(function (){ |
| 17 | /** web用户跳转登录*/ | 17 | /** web用户跳转登录*/ |
| 18 | Route::get('auth/{service}', 'AuthController@redirectToProvider'); | 18 | Route::get('auth/{service}', 'AuthController@redirectToProvider'); |
| 19 | - Route::get('auth/{service}/callback', 'AuthController@handleProviderCallback'); | 19 | + |
| 20 | + // 用户数据删除 | ||
| 21 | + Route::get('delete_data', 'SettingController@delete_data'); | ||
| 22 | + | ||
| 23 | + // 隐私权限政策网址 | ||
| 24 | + Route::get('agreement', 'SettingController@agreement'); | ||
| 25 | + | ||
| 26 | + // 服务条款网址 | ||
| 27 | + Route::get('protocol', 'SettingController@protocol'); | ||
| 28 | + | ||
| 29 | + | ||
| 20 | }); | 30 | }); |
| 21 | 31 | ||
| 22 | 32 | ... | ... |
-
Please register or login to post a comment