1
This commit is contained in:
@@ -146,7 +146,7 @@ func (a *API) GetCallbackUrlIndex(request *http.Request) (map[string]interface{}
|
|||||||
if err = json.Unmarshal(data, &temp); err == nil {
|
if err = json.Unmarshal(data, &temp); err == nil {
|
||||||
urlIndex = temp["url_index"].(string)
|
urlIndex = temp["url_index"].(string)
|
||||||
}
|
}
|
||||||
globals.SugarLogger.Debugf("sfsfsf test data=%s,urlIndex=%s", utils.Format4Output(data, false), urlIndex)
|
globals.SugarLogger.Debugf("sfsfsf test data=%s,urlIndex=%s", utils.Format4Output(temp, false), urlIndex)
|
||||||
result := make(map[string]interface{}, 0)
|
result := make(map[string]interface{}, 0)
|
||||||
switch urlIndex {
|
switch urlIndex {
|
||||||
case UrlIndexRiderStatus:
|
case UrlIndexRiderStatus:
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ func TestCreateOrder(t *testing.T) {
|
|||||||
DevId: AppID,
|
DevId: AppID,
|
||||||
ShopId: TestSFStoreID,
|
ShopId: TestSFStoreID,
|
||||||
ShopType: 1,
|
ShopType: 1,
|
||||||
ShopOrderId: "2023090806",
|
ShopOrderId: "20240108",
|
||||||
OrderSequence: "测试",
|
OrderSequence: "测试",
|
||||||
OrderSource: OrderSourceELM,
|
OrderSource: OrderSourceELM,
|
||||||
OrderTime: 1694168441,
|
OrderTime: 1694168441,
|
||||||
|
|||||||
Reference in New Issue
Block a user