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
4823b320
authored
May 16, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
测试
parent
74aacc66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
cmd/queue/sync_out_store/main.go
cmd/queue/sync_out_store/main.go
View file @
4823b320
...
...
@@ -93,8 +93,6 @@ func (t *RecvPro) Consumer(dataByte []byte) error {
err
=
errors
.
New
(
"同步出货单出现不存在的操作类型"
+
operateType
)
goto
ERR
}
err
=
errors
.
New
(
"123213"
)
goto
ERR
//没有操作类型,代表的是已经后端同步成功过一次的了,直接去请求金蝶同步状态即可
if
operateType
!=
""
{
//操作成功后还要去请求后端接口同步数据
...
...
@@ -119,6 +117,7 @@ func SyncOutStoreData(operate string, message OutStoreMessage) (err error) {
params
map
[
string
]
interface
{}
)
params
=
TransformParams
(
message
)
return
errors
.
New
(
"2131232132"
)
//构建请求数据
param
:=
req
.
BodyJSON
(
&
params
)
...
...
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