|
|
@ -176,9 +176,9 @@ func (t *UserCtl) Login() { |
|
|
|
area := &models.AreaStore{} |
|
|
|
exist, err = models.Get(area, areaId) |
|
|
|
t.CheckErr(err) |
|
|
|
t.Assert(exist, code.MSG_AREASTORE_NOT_EXIST, "多地区功能关闭,链接失效,请打开后再试") |
|
|
|
t.Assert(exist, code.MSG_AREASTORE_NOT_EXIST, "地区被删除,链接失效") |
|
|
|
if activity.MoreAreaMode == define.StatusClose && area.IsMainArea != 1 { |
|
|
|
t.ERROR("地区信息错误", code.MSG_AREASTORE_NOT_EXIST) |
|
|
|
t.ERROR("多地区功能关闭,链接失效,请打开后再试", code.MSG_AREASTORE_NOT_EXIST) |
|
|
|
} |
|
|
|
|
|
|
|
token, err := wechat.GetToken(wxcode) |
|
|
|