feat: add callback
This commit is contained in:
@@ -45,8 +45,11 @@ func (s *WePayTestSuite) Test_PrePay() {
|
||||
})
|
||||
So(err, ShouldBeNil)
|
||||
So(resp, ShouldNotBeNil)
|
||||
|
||||
s.T().Logf("prepay response: %+v", resp)
|
||||
|
||||
sign, err := resp.PaySignOfJSAPI()
|
||||
So(err, ShouldBeNil)
|
||||
s.T().Logf("Sign: %+v", sign)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user