no message
This commit is contained in:
parent
bc93f8e4d9
commit
1d1f96e1be
@ -3,20 +3,20 @@
|
||||
namespace App\Services\TG\Hook\Mod;
|
||||
|
||||
use App\Models\Blade as ModelBlade;
|
||||
use App\Services\TG\Hook\Mod\DDT;
|
||||
use App\Services\TG\Hook\Mod\DOG;
|
||||
|
||||
|
||||
class Blade extends Base {
|
||||
|
||||
private $oDDT;
|
||||
private $oDOG;
|
||||
|
||||
public function __construct($aUpdate)
|
||||
{
|
||||
|
||||
$this->oDDT = new DDT(new ModelBlade());
|
||||
$this->oDDT->_setPrimaryKey("code"); // 可选,默认id
|
||||
$this->oDDT->_setStrField(["content"]); // 可选,指定长文本字段
|
||||
$this->oDDT->_setThisName("blade"); // 必须,me用,正常就是类名,只不过后期没准改名,所以就这里写死
|
||||
$this->oDOG = new DOG(new ModelBlade());
|
||||
$this->oDOG->_setPrimaryKey("code"); // 可选,默认id
|
||||
$this->oDOG->_setStrField(["content"]); // 可选,指定长文本字段
|
||||
$this->oDOG->_setDogName("blade"); // 必须,me用,正常就是类名,只不过后期没准改名,所以就这里写死
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user