LiuJ 1 month ago
parent
commit
2a51dc560d
4 changed files with 589 additions and 525 deletions
  1. 518 515
      app/JsonRpc/WebService.php
  2. 13 10
      app/JsonRpc/WebServiceInterface.php
  3. 29 0
      app/Model/Glaw.php
  4. 29 0
      app/Model/Gonline.php

File diff suppressed because it is too large
+ 518 - 515
app/JsonRpc/WebService.php


+ 13 - 10
app/JsonRpc/WebServiceInterface.php

@@ -10,7 +10,7 @@ interface WebServiceInterface
      * @return array
      */
     public function getWebsiteModelCategory(array $data): array;
-     /**
+    /**
      * 查询网站下面的分类的seo信息
      * @param array $data
      * @return array
@@ -33,7 +33,7 @@ interface WebServiceInterface
      * @return array
      */
     public function getWebsiteArticlett(array $data): array;
-        /**
+    /**
      * @param array $data
      * @return array
      */
@@ -43,7 +43,7 @@ interface WebServiceInterface
      * @return array
      */
     public function getWebsiteArticles(array $data): array;
-    
+
     /**
      * @param array $data
      * @return array
@@ -55,12 +55,12 @@ interface WebServiceInterface
      */
     public function selectWebsiteArticleInfo(array $data): array;
     public function getWebsiteHead(array $data): array;
-     /**
+    /**
      * 查询网站下面的地区
      * @param array $data
      * @return array
      */
-    public function selectWebArea(array $data): array; 
+    public function selectWebArea(array $data): array;
     /**
      * 查询网站下面的模型分类
      * @param array $data
@@ -73,7 +73,7 @@ interface WebServiceInterface
     //  * @return array
     //  */
     // public function getWebsiteDistrit(array $data): array;
-   
+
     /**
      * 查询网站下面的职能部门
      * @param array $data
@@ -92,7 +92,7 @@ interface WebServiceInterface
     public function getWebsiteFootInfo(array $data): array;
     public function getWebsiteFootAll(array $data): array;
     public function getWebsiteAllinfo(array $data): array;
-     /**
+    /**
      * 查询广告位
      * @param array $data
      * @return array
@@ -161,7 +161,7 @@ interface WebServiceInterface
      * @return array
      */
     public function getWebsiteCategoryJob(array $data): array;
-     /**
+    /**
      * @param array $data
      * @return array
      */
@@ -176,7 +176,7 @@ interface WebServiceInterface
      * @return array
      */
     public function getWebsiteBookInfo(array $data): array;
-     /**
+    /**
      * @param array $data
      * @return array
      */
@@ -236,4 +236,7 @@ interface WebServiceInterface
      * @return array
      */
     public function getWebsiteTypeweb(array $data): array;
-}
+
+    public function getLawList(array $data): array;
+    public function getOnlinelist(array $data): array;
+}

+ 29 - 0
app/Model/Glaw.php

@@ -0,0 +1,29 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Model;
+
+use Hyperf\DbConnection\Model\Model;
+
+/**
+ */
+class Glaw extends Model
+{
+    /**
+     * The table associated with the model.
+     */
+    protected ?string $table = 'glaw';
+
+    /**
+     * The attributes that are mass assignable.
+     */
+    // protected array $fillable = [];
+
+    /**
+     * The attributes that should be cast to native types.
+     */
+    protected array $casts = [];
+
+    protected array $guarded = [];
+}

+ 29 - 0
app/Model/Gonline.php

@@ -0,0 +1,29 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Model;
+
+use Hyperf\DbConnection\Model\Model;
+
+/**
+ */
+class Gonline extends Model
+{
+    /**
+     * The table associated with the model.
+     */
+    protected ?string $table = 'gonline';
+
+    /**
+     * The attributes that are mass assignable.
+     */
+    // protected array $fillable = [];
+
+    /**
+     * The attributes that should be cast to native types.
+     */
+    protected array $casts = [];
+
+    protected array $guarded = [];
+}

Some files were not shown because too many files changed in this diff