Beispiel #1
0
        public JsonResult SetQuickShippingAddress(long id)
        {
            var userId = CurrentUser.Id;

            _iShippingAddressService.SetQuickShippingAddress(id, userId);
            return(Json(new Result()
            {
                success = true, msg = "设置成功"
            }));
        }
 /// <summary>
 /// 设置用户的收货地址为轻松购
 /// </summary>
 /// <param name="id"></param>
 public static void SetQuickShippingAddress(long id, long userId)
 {
     _iShippingAddressService.SetQuickShippingAddress(id, userId);
 }