This commit is contained in:
gazebo
2018-11-22 10:24:36 +08:00
parent dd6a4723d8
commit 3835a47c71
7 changed files with 271 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package mtwm
import (
"testing"
"git.rosy.net.cn/baseapi/utils"
// _ "git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
)
func TestReadStore(t *testing.T) {
store, err := new(PurchaseHandler).ReadStore("4351018")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(store, false))
}
func TestUpdateStore(t *testing.T) {
store, err := new(PurchaseHandler).UpdateStore("4351018")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(store, false))
}