Commit 53abf437 authored by 姜登's avatar 姜登

gjj

parent d3832135
Pipeline #6714 passed with stage
in 4 seconds
...@@ -33,7 +33,7 @@ class ScriptController extends Controller { ...@@ -33,7 +33,7 @@ class ScriptController extends Controller {
try { try {
const id = ctx.query.id; const id = ctx.query.id;
const helpList = await service.scripts.fetchHelp(id); const helpList = await service.scripts.fetchHelp(id);
if (helpList.length > 1) { if (helpList.length > 0) {
ctx.body = { ctx.body = {
code: 0, code: 0,
data: helpList[0].help_list, data: helpList[0].help_list,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment