/// <summary> /// 更新投递任务 /// </summary> /// <param name="shipper">投递任务对象</param> /// <returns>Null</returns> public static async Task UpdateAsync(Shipper shipper) { await ClsClient.Client.UpdateAsync("shipper", shipper); }
/// <summary> /// 创建投递任务 /// </summary> /// <param name="shipper">投递任务对象</param> /// <returns>投递任务id</returns> public static async Task <string> CreateAsync(Shipper shipper) { return((await ClsClient.Client.CreateAsync("shipper", shipper)).shipper_id); }