update
This commit is contained in:
parent
31b5a8a636
commit
1397544f1c
@ -52,6 +52,7 @@ class BidDocumentExaminationController extends BaseAdminController
|
|||||||
public function add()
|
public function add()
|
||||||
{
|
{
|
||||||
$params = (new BidDocumentExaminationValidate())->post()->goCheck('add');
|
$params = (new BidDocumentExaminationValidate())->post()->goCheck('add');
|
||||||
|
halt($params);
|
||||||
$result = BidDocumentExaminationLogic::add($params,$this->adminId);
|
$result = BidDocumentExaminationLogic::add($params,$this->adminId);
|
||||||
if (true === $result) {
|
if (true === $result) {
|
||||||
return $this->success('添加成功', [], 1, 1);
|
return $this->success('添加成功', [], 1, 1);
|
||||||
|
@ -887,7 +887,7 @@ EOHTML
|
|||||||
$style .= sprintf(' title="%s"', empty($attr['dynamic']) ? 'Public property' : 'Runtime added dynamic property');
|
$style .= sprintf(' title="%s"', empty($attr['dynamic']) ? 'Public property' : 'Runtime added dynamic property');
|
||||||
} elseif ('str' === $style && 1 < $attr['length']) {
|
} elseif ('str' === $style && 1 < $attr['length']) {
|
||||||
$style .= sprintf(' title="%d%s characters"', $attr['length'], $attr['binary'] ? ' binary or non-UTF-8' : '');
|
$style .= sprintf(' title="%d%s characters"', $attr['length'], $attr['binary'] ? ' binary or non-UTF-8' : '');
|
||||||
} elseif ('note' === $style && 0 < ($attr['depth'] ?: 0) && false !== $c = strrpos($value, '\\')) {
|
} elseif ('note' === $style && 0 < ($attr['depth'] ?? 0) && false !== $c = strrpos($value, '\\')) {
|
||||||
$style .= ' title=""';
|
$style .= ' title=""';
|
||||||
$attr += [
|
$attr += [
|
||||||
'ellipsis' => \strlen($value) - $c,
|
'ellipsis' => \strlen($value) - $c,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user