Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
75f2aa98
Commit
75f2aa98
authored
Jul 01, 2024
by
xiao-hesheng
Browse files
脚本优化
parent
170555cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/public1/public1/public1.py
View file @
75f2aa98
...
...
@@ -2457,6 +2457,11 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
print
(
'获取条码信息url'
,
url
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload59"
,
udi_code
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
import
pdb
pdb
.
set_trace
()
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
if
code
==
'14030053'
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'SUCCESS'
)
print
(
'获取条码信息result'
,
result
)
# 获取必要信息
data1
=
commonFuc
().
analysis_json
(
'data'
,
result
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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