Himall商城ExpressDaDaHelper 取消订单(线上环境)
/// <summary>
/// 取消订单(线上环境)
/// </summary>
/// 在订单待接单或待取货情况下,调用此接口可取消订单。注意:接单后1-15分钟内取消订单,运费退回。同时扣除2元作为给配送员的违约金
/// <param name="source_id">商户编号</param>
/// <param name="order_id">第三方订单编号</param>
/// <param name="cancel_reason_id">取消原因ID</param>
/// <param name="cancel_reason">取消原因(当取消原因ID为其他时,此字段必填)</param>
/// <returns>result业务参数:deduct_fee Double 扣除的违约金(单位:元)</returns>
public static string orderFormalCancel(long shopId, string order_id, int cancel_reason_id, string cancel_reason = "")
{
SortedDictionary<string, object> tparams = new SortedDictionary<string, object>();
tparams.Add("order_id",