补商户发货API
This commit is contained in:
@@ -202,6 +202,12 @@ func clientAction(method, path string) string {
|
||||
return ActionList
|
||||
case method == "POST" && path == "/api/client/v1/orders":
|
||||
return ActionCreate
|
||||
case method == "GET" && strings.HasPrefix(path, "/api/client/v1/orders/") && strings.Contains(path, "/delivery"):
|
||||
return ActionQuery
|
||||
case method == "POST" && strings.HasPrefix(path, "/api/client/v1/orders/") && strings.Contains(path, "/delivery/bind"):
|
||||
return ActionCreate
|
||||
case method == "POST" && strings.HasPrefix(path, "/api/client/v1/orders/") && strings.Contains(path, "/delivery/submit"):
|
||||
return ActionCreate
|
||||
case method == "GET" && strings.HasPrefix(path, "/api/client/v1/orders/"):
|
||||
return ActionQuery
|
||||
case method == "POST" && strings.HasPrefix(path, "/api/client/v1/orders/") && strings.HasSuffix(path, "/cancel"):
|
||||
|
||||
Reference in New Issue
Block a user