fixed
input log
This commit is contained in:
parent
05fc841c1a
commit
a8cc8008db
@ -19,6 +19,7 @@ import (
|
||||
"git.loafle.net/overflow/overflow_proxy_service/proxy/sensorItem"
|
||||
"git.loafle.net/overflow/overflow_proxy_service/proxy/sensorItemCategory"
|
||||
"git.loafle.net/overflow/overflow_proxy_service/proxy/sensorItemMapping"
|
||||
"log"
|
||||
)
|
||||
|
||||
var g_services map[string]interface{}
|
||||
@ -98,6 +99,7 @@ func convertParam(sn interface{}, param map[string]string) {
|
||||
|
||||
paramStr := param["model"]
|
||||
// service converting
|
||||
log.Println("input model : ", paramStr)
|
||||
err := json.Unmarshal([]byte(paramStr), sn)
|
||||
if err != nil {
|
||||
glog.Fatal("Json Unmarshal Failed : ", err.Error())
|
||||
|
Loading…
x
Reference in New Issue
Block a user