|
|
@@ -21,10 +21,16 @@ class Issue extends BaseController
|
|
|
* @apiSuccess {int} timestamp
|
|
|
* @apiSuccess {String} msg
|
|
|
* @apiSuccess {Object[]} data
|
|
|
+ *
|
|
|
*/
|
|
|
function yuanTou()
|
|
|
{
|
|
|
- $data = file_get_contents("https://pc28ya.com/index.php?action=getMyOpensJson");
|
|
|
+// $data = file_get_contents("https://pc28ya.com/index.php?action=getMyOpensJson");
|
|
|
+
|
|
|
+ $page = request()->input('page',1);
|
|
|
+ $data = file_get_contents("https://pc28ya.com/index.php?Action=MyOpens1&page={$page}");
|
|
|
+
|
|
|
+
|
|
|
$data = json_decode($data, true);
|
|
|
$data = array_reverse($data['data']);
|
|
|
foreach ($data as &$item) {
|