优化结构
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package payment
|
||||
|
||||
import (
|
||||
"kra/internal/biz/system"
|
||||
bizpayment "kra/internal/biz/payment"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCallbackFieldsAcceptsCaseInsensitiveContentType(t *testing.T) {
|
||||
callback := &system.PaymentCallback{
|
||||
callback := &bizpayment.PaymentCallback{
|
||||
Headers: map[string]string{"content-type": "Application/X-WWW-Form-Urlencoded"},
|
||||
Body: []byte("out_trade_no=ORDER-1&sign=signature"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user