Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
system_pay
Project
Project
Details
Activity
Releases
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
王沛
system_pay
Commits
96bf3406
Commit
96bf3406
authored
Dec 30, 2024
by
zhengxiuming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
5c203d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pay.go
repository/pay/pay.go
+2
-1
No files found.
repository/pay/pay.go
View file @
96bf3406
...
...
@@ -383,6 +383,7 @@ func lakala_post(input *models.PlaceAnOrderParamInput, url, order_id string, dat
return
errors
.
New
(
"拉卡拉返回值「out_trade_no」为空错误"
),
""
,
temp
}
out_trade_no
:=
temp2
[
"out_trade_no"
]
.
(
string
)
trade_no
:=
temp2
[
"trade_no"
]
.
(
string
)
if
temp2
[
"acc_resp_fields"
]
==
""
{
return
errors
.
New
(
"拉卡拉返回值「acc_resp_fields」为空错误"
),
""
,
temp
...
...
@@ -391,7 +392,7 @@ func lakala_post(input *models.PlaceAnOrderParamInput, url, order_id string, dat
url
:=
temp3
[
"code"
]
.
(
string
)
//out_trade_no := temp3["out_trade_no"].(string)
response
[
"url"
]
=
url
+
"?biz_content={
\"
out_trade_no
\"
:
\"
"
+
out_trade_no
+
"
\"
}"
response
[
"url"
]
=
url
+
"?biz_content={
\"
out_trade_no
\"
:
\"
"
+
out_trade_no
+
"
\"
,
\"
trade_no
\"
:
\"
"
+
trade_no
+
"
\"
}"
return
nil
,
response
[
"url"
],
temp
}
else
if
source_code
==
9
{
//扫码枪
...
...
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