定时更改商品可售状态

This commit is contained in:
苏尹岚
2019-11-15 09:47:10 +08:00
parent bcc534289a
commit 7305f1a6af
6 changed files with 87 additions and 25 deletions

View File

@@ -688,6 +688,10 @@ func OperationTimeStr4VendorStore(v *model.VendorStoreSnapshot) (str string) {
return str
}
func OperationTime2HourMinuteFormat(time time.Time) (i int) {
return time.Hour()*100 + time.Minute()
}
// 得到饿百订单的取货码
func GetEbaiOrderGetCode(order *model.GoodsOrder) (getCode string) {
if order.VendorID == model.VendorIDEBAI && len(order.VendorOrderID2) >= 4 {