no message
This commit is contained in:
parent
44dbaf29a8
commit
d247642103
@ -211,7 +211,7 @@ class Dog extends Mod\Base {
|
|||||||
//// 辅助系列 end
|
//// 辅助系列 end
|
||||||
|
|
||||||
//// json系列
|
//// json系列
|
||||||
// private function
|
// private function
|
||||||
//// json系列end
|
//// json系列end
|
||||||
|
|
||||||
//// me系列
|
//// me系列
|
||||||
@ -382,6 +382,10 @@ class Dog extends Mod\Base {
|
|||||||
$iLimit = ModelOption::_hit("dog_limit");
|
$iLimit = ModelOption::_hit("dog_limit");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$iLimit) {
|
||||||
|
throw new \Exception("需要option里的dog_limit");
|
||||||
|
}
|
||||||
|
|
||||||
return $iLimit;
|
return $iLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -398,7 +402,7 @@ class Dog extends Mod\Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$iLimit = $this->_getLimit();
|
$iLimit = $this->_getLimit();
|
||||||
|
|
||||||
if ($sValue === false ) {
|
if ($sValue === false ) {
|
||||||
|
|
||||||
$oSelf = $this->oModelSelf;
|
$oSelf = $this->oModelSelf;
|
||||||
@ -831,8 +835,10 @@ class Dog extends Mod\Base {
|
|||||||
return "需要value";
|
return "需要value";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$aParam = [];
|
||||||
$aParam["sHitField"] = $sHitField;
|
$aParam["sHitField"] = $sHitField;
|
||||||
$aParam["aOption"][1] = $sWhereField;
|
$aParam["aOption"][1] = $sWhereField;
|
||||||
|
$aParam["aArg"][1] = $sWhereValue;
|
||||||
|
|
||||||
return $this->find($aParam);
|
return $this->find($aParam);
|
||||||
}
|
}
|
||||||
@ -850,8 +856,10 @@ class Dog extends Mod\Base {
|
|||||||
return "需要value";
|
return "需要value";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$aParam = [];
|
||||||
$aParam["aOption"][1] = "content";
|
$aParam["aOption"][1] = "content";
|
||||||
$aParam["aOption"][2] = $sWhereField;
|
$aParam["aOption"][2] = $sWhereField;
|
||||||
|
$aParam["aArg"][1] = $sValue;
|
||||||
|
|
||||||
return $this->hit($aParam);
|
return $this->hit($aParam);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user