mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
commit
312f5980e5
@ -167,12 +167,7 @@ class Fields extends Base {
|
||||
return $this->buildFailed(ReturnCode::EXCEPTION, 'JSON数据格式有误');
|
||||
}
|
||||
AdminList::update(['returnStr' => json_encode($data)], ['hash' => $hash]);
|
||||
//如果json字符串中data不存在或者data内容为空,则不进行handle处理
|
||||
if(!isset($data['data']) || sizeof($data['data']) == 0){
|
||||
$dataArr = [];
|
||||
}else{
|
||||
$this->handle($data['data'], $dataArr);
|
||||
}
|
||||
$this->handle($data['data'], $dataArr);
|
||||
$old = (new AdminFields())->where([
|
||||
'hash' => $hash,
|
||||
'type' => $type
|
||||
|
@ -37,7 +37,7 @@
|
||||
<div class="ui vertical menu" style="width: 100%;overflow: auto;">
|
||||
{volist name="apiList" id="vo"}
|
||||
<a class="{if condition="$hash == $vo['hash']"}active{/if} teal item" href="{:url('/wiki/detail/'.$groupHash.'/'.$vo["hash"])}">
|
||||
{:substr($vo['hash'], 0, 11)}...({:mb_substr($vo['info'], 0, 3)}...)
|
||||
{:mb_substr($vo['info'], 0, 11)}...
|
||||
<div class="ui {if condition="$hash == $vo['hash']"}teal{/if} label"> > </div>
|
||||
</a>
|
||||
{/volist}
|
||||
|
Loading…
x
Reference in New Issue
Block a user