Commit 0f42fbcc64818716b3d2943c914a6d657e869677
1 parent
a8086fba
[留言板]后台登录接口优化
Showing
2 changed files
with
17 additions
and
1 deletions
trunk/Message/Apicp/Controller/Person/LoginController.class.php
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * User: <362431947@qq.com> | 3 | * User: <362431947@qq.com> |
4 | * Date: 2018-10-12 Time: 18:18 | 4 | * Date: 2018-10-12 Time: 18:18 |
5 | */ | 5 | */ |
6 | -namespace Apicp\Controller\Message; | 6 | +namespace Apicp\Controller\Person; |
7 | 7 | ||
8 | use Common\Model\PersonModel; | 8 | use Common\Model\PersonModel; |
9 | 9 |
trunk/Message/message后台独立功能/check.php
0 → 100644
1 | +<?php | ||
2 | +require "function.php"; | ||
3 | + | ||
4 | +$url = "http://localhost.vchangyi.org/E92B06237F00000150F5A2266E14186D/Message/Apicp/Message/Check"; | ||
5 | +$message_id = $_GET['message_id']; | ||
6 | +$checked = $_GET['checked']; | ||
7 | + | ||
8 | +$postData = [ | ||
9 | + 'message_id'=>$message_id, | ||
10 | + 'checked'=>$checked, | ||
11 | +]; | ||
12 | + | ||
13 | + | ||
14 | +curlPost($url,$postData); | ||
15 | + | ||
16 | +header("Refresh:0;url=list"); | ||
0 | \ No newline at end of file | 17 | \ No newline at end of file |