Commit d044f6fd authored by wsc's avatar wsc
Browse files

Merge branch 'develop' into 'master'

Develop

See merge request !39
Showing with 2 additions and 1 deletion
+2 -1
......@@ -101,5 +101,5 @@ func (m MyCoolTvOrderV2) Handle(rn string, uid guestsvc.JobUID, within time.Dura
}
orderV2["type"] = uid.(string)
orderV2["roomNumber"] = rn
return m.CreateV2(ext)
return m.CreateV2(orderV2)
}
......@@ -143,6 +143,7 @@ func (sys OrderSys) CreateV2(order interface{}) error {
"order": order,
}
p, _ := json.Marshal(param)
log.Printf("POST %s: %s", u, string(p))
p, e = helper.HTTPPostJSON(u, string(p))
m := new(struct {
Code, Msg string
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment