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
75b553c1
Commit
75b553c1
authored
Apr 16, 2019
by
Hsinli
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of t-git.51gjj.com:fangbin/51business
parents
8d7903f4
65932fa9
Pipeline
#6052
passed with stage
in 8 seconds
Changes
2
Pipelines
1
Expand all
Hide 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 @
75b553c1
This diff is collapsed.
Click to expand it.
app/controller/official/jobtype.js
View file @
75b553c1
...
...
@@ -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