部署
This commit is contained in:
parent
a8fc9653e0
commit
b087fdd0b8
@ -114,13 +114,12 @@ type ShipmentAdd struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add @TITLE 添加
|
// Add @TITLE 添加
|
||||||
func (s *shipment) Add(ctx context.Context, args ArgsShipmentAdd) (err error) {
|
func (s *shipment) Add(ctx context.Context, args ArgsShipmentAdd) (shipmentId int64, err error) {
|
||||||
xClient, err := client.GetClient(s)
|
xClient, err := client.GetClient(s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
reply := 0
|
err = xClient.Call(ctx, "Add", args, &shipmentId)
|
||||||
err = xClient.Call(ctx, "Add", args, &reply)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user