- up
This commit is contained in:
@@ -143,8 +143,8 @@ type PageShopInfo struct {
|
||||
const (
|
||||
LincenceEconKindPerson = "个体工商户"
|
||||
|
||||
QualifyTypePerson = "25" // 营业执照
|
||||
QualifyTypeCompany = "22" // 身份证,个体工商户要求填
|
||||
QualifyTypeCompany = "25" // 营业执照
|
||||
QualifyTypePerson = "22" // 身份证,个体工商户要求填
|
||||
QualifyTypeAddInfo = "31" // 附加信息,如果身份证是长期有效,要求身份证背面信息
|
||||
|
||||
SaveQualifyActionTypeCommit = 0 // 提交
|
||||
@@ -172,6 +172,7 @@ var (
|
||||
pageExceedLimitCodes = map[string]int{
|
||||
"403": 1,
|
||||
}
|
||||
pageCanRetryCodes = map[string]int{}
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -243,7 +244,7 @@ func (a *API) AccessStorePage2(fullURL string, params map[string]interface{}, is
|
||||
newErr := utils.NewErrorCode(jsonResult1["msg"].(string), code)
|
||||
if _, ok := pageExceedLimitCodes[code]; ok {
|
||||
return platformapi.ErrLevelExceedLimit, newErr
|
||||
} else if _, ok := canRetryCodes[code]; ok {
|
||||
} else if _, ok := pageCanRetryCodes[code]; ok {
|
||||
return platformapi.ErrLevelRecoverableErr, newErr
|
||||
} else {
|
||||
baseapi.SugarLogger.Debugf("jd AccessStorePage failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
|
||||
|
||||
Reference in New Issue
Block a user