Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sun
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
谢林臻
sun
Commits
5abe0a4a
Commit
5abe0a4a
authored
Feb 27, 2019
by
zhanglu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/channel_package_zy' into 'dev'
修改celery配置 See merge request
alpha/sun!77
parents
b14c1558
6e60680a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
__init__.py
api/__init__.py
+1
-1
channel_build.py
api/channel_build.py
+1
-1
No files found.
api/__init__.py
View file @
5abe0a4a
...
...
@@ -2,5 +2,5 @@
# -*- coding: utf-8 -*-
# __author__ = "chenwei"
# Date: 2018/11/15
from
_celery
import
app
as
celery_app
api/channel_build.py
View file @
5abe0a4a
...
...
@@ -162,7 +162,7 @@ class Channel(APIView):
error_logger
.
error
(
'操作失败
%
s'
,
e
)
return
self
.
write_fail
(
message
=
'操作失败'
,
code
=-
1
)
version
=
resp
.
get
(
'version'
,
''
)
if
version
:
if
version
and
not
channel_id
:
channel_build_one
.
delay
(
version
,
url_name
)
return
self
.
write_success
(
message
=
'操作成功'
,
data
=
{})
...
...
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