|
|
@ -121,7 +121,7 @@ func (c *Client) Exec(r Requester) (interface{}, error) {
|
|
|
|
if !strings.Contains(string(resp), r.GetRespName()) {
|
|
|
|
if !strings.Contains(string(resp), r.GetRespName()) {
|
|
|
|
return nil, fmt.Errorf("system err: %s", string(resp))
|
|
|
|
return nil, fmt.Errorf("system err: %s", string(resp))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fmt.Println(string(resp))
|
|
|
|
//fmt.Println(string(resp))
|
|
|
|
|
|
|
|
|
|
|
|
var temp map[string]interface{}
|
|
|
|
var temp map[string]interface{}
|
|
|
|
err = json.Unmarshal(resp, &temp)
|
|
|
|
err = json.Unmarshal(resp, &temp)
|
|
|
|