Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
方斌
51business
Commits
92e33373
Commit
92e33373
authored
Apr 16, 2019
by
方斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
z
parent
617f35ac
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
0 deletions
+1
-0
tool.js
app/controller/house/tool.js
+0
-0
jobtype.js
app/controller/official/jobtype.js
+1
-0
No files found.
app/controller/house/tool.js
View file @
92e33373
This diff is collapsed.
Click to expand it.
app/controller/official/jobtype.js
View file @
92e33373
...
...
@@ -4,6 +4,7 @@ const Controller = require('egg').Controller;
class
JobtypeController
extends
Controller
{
async
list
()
{
const
{
ctx
,
service
}
=
this
;
if
(
ctx
.
params
.
jobtype
===
'undefined'
)
{
return
ctx
.
throw
(
422
,
'job_style is missing!'
);
}
let
job_type
=
ctx
.
params
.
jobtype
;
const
ret
=
await
service
.
official
.
job
.
type
.
get_list
(
{
job_type
:
job_type
}
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment