|
@@ -378,6 +378,15 @@ class Api
|
|
$v['desc'] = $tbody;
|
|
$v['desc'] = $tbody;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (!$v['desc']) {
|
|
|
|
+ $v['desc'] = '无';
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (strstr($v['desc'], 'array:')) {
|
|
|
|
+ $v['type'] = 'array';
|
|
|
|
+ //$v['desc'] = str_replace('array:', '', $v['desc']);
|
|
|
|
+ }
|
|
|
|
+
|
|
$v['name'] = '<span class="edit" data-col="name" data-url="'.$url.'" data-id="'.$v['id'].'" data-type="'.$api.'" >' . $v['name'] . '</span>';
|
|
$v['name'] = '<span class="edit" data-col="name" data-url="'.$url.'" data-id="'.$v['id'].'" data-type="'.$api.'" >' . $v['name'] . '</span>';
|
|
|
|
|
|
$v['type'] = '<span class="edit" data-col="type" data-url="'.$url.'" data-id="'.$v['id'].'" data-type="'.$api.'" >' . $v['type'] . '</span>';
|
|
$v['type'] = '<span class="edit" data-col="type" data-url="'.$url.'" data-id="'.$v['id'].'" data-type="'.$api.'" >' . $v['type'] . '</span>';
|