Commit 4823b320 by mushishixian

测试

parent 74aacc66
Showing with 1 additions and 2 deletions
...@@ -93,8 +93,6 @@ func (t *RecvPro) Consumer(dataByte []byte) error { ...@@ -93,8 +93,6 @@ func (t *RecvPro) Consumer(dataByte []byte) error {
err = errors.New("同步出货单出现不存在的操作类型" + operateType) err = errors.New("同步出货单出现不存在的操作类型" + operateType)
goto ERR goto ERR
} }
err = errors.New("123213")
goto ERR
//没有操作类型,代表的是已经后端同步成功过一次的了,直接去请求金蝶同步状态即可 //没有操作类型,代表的是已经后端同步成功过一次的了,直接去请求金蝶同步状态即可
if operateType != "" { if operateType != "" {
//操作成功后还要去请求后端接口同步数据 //操作成功后还要去请求后端接口同步数据
...@@ -119,6 +117,7 @@ func SyncOutStoreData(operate string, message OutStoreMessage) (err error) { ...@@ -119,6 +117,7 @@ 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment