作者 Your Name

gx

  1 +<?php
  2 +
  3 +namespace App\Http\Logic\Aside\Ai;
  4 +
  5 +use App\Http\Logic\Aside\BaseLogic;
  6 +use App\Models\AiCommand as AiCommandModel;
  7 +
  8 +class AiCommandLogic extends BaseLogic
  9 +{
  10 + public function __construct()
  11 + {
  12 + parent::__construct();
  13 +
  14 + $this->model = new AiCommandModel();
  15 + $this->param = $this->requestAll;
  16 + }
  17 +
  18 + /**
  19 + * @name :详情
  20 + * @return void
  21 + * @author :liyuhang
  22 + * @method
  23 + */
  24 + public function info(){
  25 + return $this->success();
  26 + }
  27 +
  28 + /**
  29 + * @name :添加指令
  30 + * @return void
  31 + * @author :liyuhang
  32 + * @method
  33 + */
  34 + public function add(){
  35 + return $this->success();
  36 + }
  37 +
  38 + /**
  39 + * @name :编辑站内信
  40 + * @return void
  41 + * @author :liyuhang
  42 + * @method
  43 + */
  44 + public function edit(){
  45 + return $this->success();
  46 + }
  47 +
  48 + /**
  49 + * @name :删除站内信
  50 + * @return void
  51 + * @author :liyuhang
  52 + * @method
  53 + */
  54 + public function del(){
  55 + return $this->success();
  56 + }
  57 +}