部署
This commit is contained in:
parent
a8fc9653e0
commit
b087fdd0b8
@ -114,13 +114,12 @@ type ShipmentAdd struct {
|
||||
}
|
||||
|
||||
// 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)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
reply := 0
|
||||
err = xClient.Call(ctx, "Add", args, &reply)
|
||||
err = xClient.Call(ctx, "Add", args, &shipmentId)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user