Public
Authored by hanfaxiang 😬

自动分配接口

接口地址 /api/cz/timer/smart/group

请求结构:

{
  "skus": "596140,595141,598384,598202,597600,595269,598414,598380,598382,598385,598387,598375,598204,597598,597589,598458,597572,596237,595198,594936,593576,598481,598540,598542,597616,598447,598480,595077,595521,595173,595553,595250,596229,597568,598197,598199,598181,592887,592308,591139,587670",
  "times": [
    "12:00",
    "14:00",
    "16:00",
    "18:00",
    "20:00",
    "22:00"
  ]
}

返回数据:

{
	"code": 200,
	"data": {
		"list": [
			{
				"skus": "598481,598384,597598",
				"time": "12:00"
			},
			{
				"skus": "598382,598181,598199,596237",
				"time": "14:00"
			},
			{
				"skus": "598375,596229,598197,598414,595250",
				"time": "16:00"
			},
			{
				"skus": "598542,596140,598385,597600,598380,595198,598540",
				"time": "18:00"
			},
			{
				"skus": "597568,595521,595553,595269,598202,595141,598458",
				"time": "20:00"
			},
			{
				"skus": "595173,598447,598387,595077,587670,594936,598204",
				"time": "22:00"
			}
		]
	},
	"message": "success"
}
1 Byte
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment