验证cookie改成update包装费
This commit is contained in:
@@ -117,12 +117,12 @@ func GetCheckVendorCookie(ctx *jxcontext.Context, vendorIDs []int, isAuto bool)
|
||||
var (
|
||||
ebaiOrderID = "1577329467196263592"
|
||||
ebaiErr = "return not json"
|
||||
mtOrderID = "69761763472881638"
|
||||
mtStoreID = "6976176"
|
||||
mtErr = "返回结果格式不正常"
|
||||
jdUpcCode = "6952395700895"
|
||||
jdErr = "请输入用户名"
|
||||
errMsg = ""
|
||||
// mtOrderID = "69761763472881638"
|
||||
// mtStoreID = "6976176"
|
||||
mtErr = "返回结果格式不正常"
|
||||
jdUpcCode = "6952395700895"
|
||||
jdErr = "请输入用户名"
|
||||
errMsg = ""
|
||||
)
|
||||
for _, v := range vendorIDs {
|
||||
var flag = false
|
||||
@@ -138,7 +138,7 @@ func GetCheckVendorCookie(ctx *jxcontext.Context, vendorIDs []int, isAuto bool)
|
||||
}
|
||||
}
|
||||
case 1:
|
||||
err := api.MtwmAPI.OrderModityTips(mtOrderID, mtStoreID, 0.2)
|
||||
err := api.MtwmAPI.PackagePriceUpdate("6793969", 1, 50)
|
||||
if err != nil {
|
||||
if strings.Contains(err.Error(), mtErr) {
|
||||
errMsg += " 美团Cookie无效了!"
|
||||
|
||||
Reference in New Issue
Block a user