oDog = new Dog(new ModelBladeJctj()); $this->oDog->_setDogName("jctj"); // 必须,me用,正常就是类名,只不过后期没准改名,所以就这里写死 $this->oDog->_setPrimaryKey("id"); // 可选,默认id $this->oDog->_setStrField(["content"]); // 可选,指定长文本字段 } public function __call($sName, $aArg) { return $this->oDog->$sName($aArg[0]); } public function t1() { TeleSlave::log()->enableSlaveQueue(false)->setFileUrl("https://master.tomshell.my/freenode/template/clash.txt")->setMsgS("fff")->send(); echo 1; } public function httpJson($aParam) { $sUrl = $aParam["aOption"][1] ?? ''; $aDataJson = $aParam["aArg"] ?? []; $sDataJson = implode(" ", $aDataJson); $r = HttpV2::make($sUrl)->enableJsonAs()->setDataX($sDataJson)->send(); return $r; } public function http($aParam) { $sUrl = $aParam["aOption"][1] ?? ''; $aDataJson = $aParam["aArg"] ?? []; $sDataJson = implode(" ", $aDataJson); $r = HttpV2::make($sUrl)->setDataX($sDataJson)->send(); return $r; } }