|
@@ -448,7 +448,7 @@ func (yp *Yellowpage) GetRelation() error {
|
|
|
var relation map[string]interface{}
|
|
|
var flag bool
|
|
|
//判断登录状态
|
|
|
- if yp.GetSession("userType") != nil && util.IntAll(yp.GetSession("userType")) > 0 /*&& util.IntAll(yp.GetSession("identWay")) == 1 */ {
|
|
|
+ if yp.GetSession("userType") != nil && util.IntAll(yp.GetSession("userType")) > 0 && util.IntAll(yp.GetSession("identWay")) == 1 {
|
|
|
regNo := yp.GetString("regNo")
|
|
|
entName := yp.GetString("entName")
|
|
|
if regNo != "" && entName != "" {
|