- 修复AfsSubmit与OrderAddTips的bug

This commit is contained in:
gazebo
2019-07-29 15:27:56 +08:00
parent da9c8a11c2
commit eb906260d8
4 changed files with 16 additions and 7 deletions

View File

@@ -10,7 +10,8 @@ import (
)
func TestQuerySingleOrder(t *testing.T) {
retVal, err := api.QuerySingleOrder("815536199000222")
retVal, err := api.QuerySingleOrder("918092290000042")
t.Log(utils.Format4Output(retVal, false))
if err != nil {
t.Error(err)
}
@@ -218,3 +219,10 @@ func TestOrderShoudSettlementService2(t *testing.T) {
}
sugarLogger.Debug(utils.Format4Output(result, false))
}
func TestOrderAddTips(t *testing.T) {
err := api.OrderAddTips("918092290000042", 50, "xjh")
if err != nil {
t.Fatal(err.Error())
}
}