package
0.0.0-20250220022732-e4c125a5ade9
Repository: https://github.com/quantumshiftx/golib.git
Documentation: pkg.go.dev
# Functions
GenerateOrderNo 生成订单编号。 参数:
orderType: 订单类型。如果为空,默认使用 DefaultOrder。
返回值:
string: 生成的订单编号。 error: 如果生成唯一ID失败,则返回错误。.
No description provided by the author
No description provided by the author
ValidateOrderNo 验证订单号是否有效。 订单号的有效性基于以下两个条件: 1.
# Type aliases
OrderType represents different types of orders.