This commit is contained in:
LiuZhengYu 2026-04-24 21:01:49 +08:00
commit 368377f949
2 changed files with 3 additions and 0 deletions

View File

@ -161,6 +161,7 @@
if (btn == 'edit') edit(id); if (btn == 'edit') edit(id);
} }
function getdata(id, act, cb) { function getdata(id, act, cb) {
cb({ data: id == 0 ? {} : table.data[id] }); cb({ data: id == 0 ? {} : table.data[id] });
} }

View File

@ -19,6 +19,7 @@ class keyword
} else { } else {
$csql->where('cateid=0'); $csql->where('cateid=0');
} }
} else } else
$csql->where('cateid', get('_cateid')); $csql->where('cateid', get('_cateid'));
$csql->where('name like', objstr($query, 'name')); $csql->where('name like', objstr($query, 'name'));
@ -69,6 +70,7 @@ class keyword
} }
return succjson($ret); return succjson($ret);
} }
public static function json_update() public static function json_update()
{ {
global $db; global $db;