|
@@ -25,6 +25,9 @@ type EnterpriseSearchAction struct {
|
|
|
func (esa *EnterpriseSearchAction) DoEntSearch() {
|
|
|
userId, _ := esa.GetSession("userId").(string)
|
|
|
zhiMa := esa.GetString("zhiMa")
|
|
|
+ if zhiMa == "{}" {
|
|
|
+ zhiMa = ""
|
|
|
+ }
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
|
entSearch, err := (&entity.EnterpriseSearch{
|
|
|
Match: esa.GetString("match"),
|