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
74aacc66
authored
May 16, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
测试
parent
362924e4
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 @
74aacc66
...
...
@@ -61,7 +61,6 @@ func (t *RecvPro) Consumer(dataByte []byte) error {
if
err
=
json
.
Unmarshal
(
dataByte
,
&
message
);
err
!=
nil
{
goto
ERR
}
return
nil
//判断操作类型
switch
message
.
Type
{
case
"save"
:
...
...
@@ -94,6 +93,8 @@ func (t *RecvPro) Consumer(dataByte []byte) error {
err
=
errors
.
New
(
"同步出货单出现不存在的操作类型"
+
operateType
)
goto
ERR
}
err
=
errors
.
New
(
"123213"
)
goto
ERR
//没有操作类型,代表的是已经后端同步成功过一次的了,直接去请求金蝶同步状态即可
if
operateType
!=
""
{
//操作成功后还要去请求后端接口同步数据
...
...
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