liujiandao
2023-12-02 002539c8dc7eae6e64da1608245be01a889c061c
api/v1/contract.go
@@ -161,11 +161,11 @@
      return
   }
   if params.SearchMap == nil {
      params.SearchMap = make(map[string]interface{}, 0)
   }
   userInfo := utils.GetUserInfo(c)
   if userInfo.UserType == constvar.UserTypeSub {
      if params.SearchMap == nil {
         params.SearchMap = make(map[string]interface{}, 0)
      }
      params.SearchMap["member_ids"] = userInfo.SubUserIds
   }