|
@@ -32,8 +32,8 @@ type LvName string
|
|
|
const (
|
|
|
CheckSuccess LvName = "申报成功"
|
|
|
CheckFail LvName = "检查失败"
|
|
|
- CheckOmit LvName = "有遗漏"
|
|
|
- CheckAbnormal LvName = "有异常"
|
|
|
+ CheckOmit LvName = "有遗漏"
|
|
|
+ CheckAbnormal LvName = "有异常"
|
|
|
)
|
|
|
|
|
|
func GeneratePath(suffix string) string {
|
|
@@ -423,3 +423,13 @@ func CheckInput(p *rod.Page, xPath, inputVal string, name string) (errMsg string
|
|
|
}
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+func SaveCookiesNoPhone(key string) error {
|
|
|
+ var a interface{}
|
|
|
+ _ = lxhttp.PostJson(variable.SessionKeepURL+"/api/v1/session/save", map[string]interface{}{
|
|
|
+ "sessionKey": key,
|
|
|
+ "tsessionKey": key,
|
|
|
+ }, &a)
|
|
|
+ logger.Info("SaveSessionKey:", key)
|
|
|
+ return nil
|
|
|
+}
|