This commit is contained in:
richboo111
2024-01-08 13:55:52 +08:00
parent 38f38ef7c0
commit 73ce219a6f
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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,