修改饿了么转自送
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
package elm
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"errors"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
_ "git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
|
||||
"git.rosy.net.cn/jx-callback/globals/testinit"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -21,3 +22,9 @@ func TestGetOrder(t *testing.T) {
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
func TestQQQQ(t *testing.T) {
|
||||
err := errors.New("无需切自配送 level:0, code:301251")
|
||||
dd := utils.IsErrMatch(err, "301251", nil)
|
||||
t.Log(dd)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user