Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
scm_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c593249e
authored
May 16, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
测试
parent
4823b320
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
cmd/queue/sync_out_store/main.go
cmd/queue/sync_out_store/main.go
View file @
c593249e
...
@@ -117,7 +117,6 @@ func SyncOutStoreData(operate string, message OutStoreMessage) (err error) {
...
@@ -117,7 +117,6 @@ func SyncOutStoreData(operate string, message OutStoreMessage) (err error) {
params
map
[
string
]
interface
{}
params
map
[
string
]
interface
{}
)
)
params
=
TransformParams
(
message
)
params
=
TransformParams
(
message
)
return
errors
.
New
(
"2131232132"
)
//构建请求数据
//构建请求数据
param
:=
req
.
BodyJSON
(
&
params
)
param
:=
req
.
BodyJSON
(
&
params
)
...
@@ -131,6 +130,8 @@ func SyncOutStoreData(operate string, message OutStoreMessage) (err error) {
...
@@ -131,6 +130,8 @@ func SyncOutStoreData(operate string, message OutStoreMessage) (err error) {
billId
:=
message
.
Data
.
FSourceBillID
billId
:=
message
.
Data
.
FSourceBillID
if
operate
==
"insert"
{
if
operate
==
"insert"
{
resp
,
err
=
req
.
Post
(
url
,
param
)
resp
,
err
=
req
.
Post
(
url
,
param
)
err
=
errors
.
New
(
fmt
.
Sprintf
(
"%s"
,
resp
))
return
err
if
err
!=
nil
{
if
err
!=
nil
{
return
return
}
}
...
...
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