Procházet zdrojové kódy

Merge branch 'master' of http://116.131.8.26:3000/FengR/admin_consumer

LiuJ před 8 měsíci
rodič
revize
ebeadd2265
3 změnil soubory, kde provedl 73 přidání a 0 odebrání
  1. 15 0
      app/JsonRpc/NewsServiceInterface.php
  2. 29 0
      app/Model/Glaw.php
  3. 29 0
      app/Model/Gonline.php

+ 15 - 0
app/JsonRpc/NewsServiceInterface.php

@@ -486,4 +486,19 @@ interface NewsServiceInterface
   public function upJobPosition(array $data);
   // 删除职位分类
   public function delJobPosition(array $data);
+
+  // 政讯--官网--在线留言
+  public function addOnline(array $data): array;
+  public function getOnlineList(array $data): array;
+  public function delOnline(array $data): array;
+  public function getOnlineInfo(array $data): array;
+  public function upOnline(array $data): array;
+  public function checkOnline(array $data): array;
+  // 政讯--官网--法律咨询 LegalConsult
+  public function addLaw(array $data): array;
+  public function getLawList(array $data): array;
+  public function delLaw(array $data): array;
+  public function getLawInfo(array $data): array;
+  public function upLaw(array $data): array;
+  public function checkLaw(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 = [];
+}