no message

master
a7458969 2020-05-01 21:21:04 +08:00
parent 252eab9a93
commit 0735ca6904
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func MysqlToElasticSearchMapping(types string,Key string) string{
return "keyword"
}
if(strings.Contains(types,"int(")){
return "interger"
return "integer"
}
if(strings.Contains(types,"longblob")){
return "text"

View File

@ -24,4 +24,5 @@ func (*JsonObject)InsertArrary(key string,arr interface{}) error {
if reflect.TypeOf(arr).Kind() != reflect.Array{
return errors.New("wrong parameter")
}
return nil
}