add method
This commit is contained in:
		| @@ -113,6 +113,7 @@ func (c *rpcPlusCodec) WriteRequest(req *request, body interface{}) error { | |||||||
| 		Type:   codec.Request, | 		Type:   codec.Request, | ||||||
| 		Header: map[string]string{ | 		Header: map[string]string{ | ||||||
| 			"X-Micro-Target": req.Service, | 			"X-Micro-Target": req.Service, | ||||||
|  | 			"X-Micro-Method": req.ServiceMethod, | ||||||
| 		}, | 		}, | ||||||
| 	} | 	} | ||||||
| 	if err := c.codec.Write(m, body); err != nil { | 	if err := c.codec.Write(m, body); err != nil { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user