Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
周振烽
xg-login-admin
Commits
d3bedda3
Commit
d3bedda3
authored
3 years ago
by
Admin
Browse files
Options
Download
Email Patches
Plain Diff
Put back always_true
parent
8cb420f6
master
Pipeline
#10947
passed with stages
in 1 minute and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ulogin/srv/flow.py
ulogin/srv/flow.py
+3
-3
No files found.
ulogin/srv/flow.py
View file @
d3bedda3
...
...
@@ -127,9 +127,9 @@ class AliYunDomainNameBelong(ErrReturnMixin, AliYunFlow):
@
classmethod
def
use
(
cls
,
domain_name
,
always_true
=
True
):
#
if always_true:
#
from ulogin.srv.aliyun import SrvResponse
#
return SrvResponse(True, JsonState=True)
if
always_true
:
from
ulogin.srv.aliyun
import
SrvResponse
return
SrvResponse
(
True
,
JsonState
=
True
,
Response
=
{}
)
resp
=
AliYun
.
query_domain_by_domain_name
(
domain_name
)
if
len
(
resp
.
json
[
"DnsList"
][
"Dns"
])
!=
0
:
resp
.
JsonState
=
True
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help