test
This commit is contained in:
parent
1695323ff3
commit
1e4ae43008
|
@ -62,7 +62,7 @@ func WriteOrder() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 创建价格分组
|
// 创建价格分组
|
||||||
var queue_nos = [...]int{10, 20, 50, 100, 1000}
|
var queue_nos = [...]int{-1, 10, 20, 50, 100, 1000}
|
||||||
for _, value := range queue_nos {
|
for _, value := range queue_nos {
|
||||||
err = rdbmq.CreateStreamAndGroup(fmt.Sprintf("orders_%d", value), fmt.Sprintf("orders_%d", value))
|
err = rdbmq.CreateStreamAndGroup(fmt.Sprintf("orders_%d", value), fmt.Sprintf("orders_%d", value))
|
||||||
if err != nil && err.Error() != "BUSYGROUP Consumer Group name already exists" {
|
if err != nil && err.Error() != "BUSYGROUP Consumer Group name already exists" {
|
||||||
|
|
|
@ -40,7 +40,7 @@ create table product (
|
||||||
status tinyint, -- 1.上架 2.下架
|
status tinyint, -- 1.上架 2.下架
|
||||||
created_at timestamp default current_timestamp,
|
created_at timestamp default current_timestamp,
|
||||||
-- v2
|
-- v2
|
||||||
type tinyint-- 1.拼多多 2.多多进宝 3. 拼多多+多多进宝 4. 直接返回成功商品
|
type tinyint-- 1.拼多多 2.多多进宝 3. 拼多多+多多进宝 4. 直接返回成功商品 5. 淘宝单一规格商品
|
||||||
extend_parameter varchar(1024),
|
extend_parameter varchar(1024),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue