- 将美团配送门店相关的API单独拆分出来
- 去掉美团配送CheckCallbackValidation中的强制参数检查
This commit is contained in:
12
platformapi/mtpsapi/shop_test.go
Normal file
12
platformapi/mtpsapi/shop_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package mtpsapi
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestSimulateShopStatus(t *testing.T) {
|
||||
err := api.SimulateShopStatus("1", ShopStatusAuditRejected)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user