This commit is contained in:
laodaming 2023-06-15 11:39:21 +08:00
parent f2893cc336
commit 0de54ec30c
2 changed files with 2 additions and 10 deletions

4
go.mod
View File

@ -4,6 +4,7 @@ go 1.20
require (
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/google/uuid v1.3.0
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
github.com/zeromicro/go-zero v1.5.2
@ -16,7 +17,7 @@ require (
github.com/474420502/requests v1.32.1
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/tidwall/gjson v1.12.0 // indirect
github.com/tidwall/gjson v1.12.0
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
)
@ -35,7 +36,6 @@ require (
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/pprof v0.0.0-20211214055906-6f57359322fd // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect

View File

@ -26,9 +26,6 @@ service shopping-cart-confirmation {
//变更发货方式和地址
@handler ChangeOrderMethodHandler
post /cart/chang-order-method (ChangeOrderMethodReq) returns (response);
//创建订单
@handler CartCreateOrderHandler
post /cart/create-order (CartCreateOrderReq) returns (response);
}
//添加入购物车
@ -123,9 +120,4 @@ type ChangeOrderMethodReq {
DeliveryMethod int64 `json:"delivery_method , options=1|2"`
AddressId int64 `json:"address_id"`
PayMethod int64 `json:"pay_method"`
}
//创建订单
type CartCreateOrderReq{
}