|
@@ -162,16 +162,6 @@ class Issue extends BaseController
|
|
|
*/
|
|
*/
|
|
|
public function countdown(): JsonResponse
|
|
public function countdown(): JsonResponse
|
|
|
{
|
|
{
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- $page = request()->input('page', 1);
|
|
|
|
|
- $data = file_get_contents("https://pc28ya.com/index.php?Action=MyOpens1&page={$page}");
|
|
|
|
|
- $aaa = file_get_contents("https://pc28ya.com/index.php?gameType=jnd28&action=next");
|
|
|
|
|
- $aaa = json_decode($aaa, true);
|
|
|
|
|
- $data = json_decode($data, true);
|
|
|
|
|
- $data = $data['data'][0];
|
|
|
|
|
- return $this->success(['data'=>$data,'aaa'=>$aaa]);
|
|
|
|
|
-
|
|
|
|
|
//获取最新一期已开奖的数据
|
|
//获取最新一期已开奖的数据
|
|
|
$data2 = \App\Models\Issue::where('status', 3)->orderByDesc('issue_no')->first();
|
|
$data2 = \App\Models\Issue::where('status', 3)->orderByDesc('issue_no')->first();
|
|
|
|
|
|