public async Task <AllegroResult <ProposeProductResponse> > ProposeProductAsync([FromBody] ProposeProductRequestDto product)
 {
     return(await _productService.ProposeProductAsync(product));
 }
        /// <summary>
        ///发布产品
        /// </summary>
        /// <returns></returns>
        public async Task <AllegroResult <ProposeProductResponse> > ProposeProductAsync(ProposeProductRequestDto dto)
        {
            //var request = new ProposeProductRequest(new ProposeProductRequestParameter { name= dto.name, category = dto.category.MapTo<Category>() , images = dto.images.MapTo<List<Images>>() , parameters = dto.parameters.MapTo<List<Parameter>>() }, _redis.StringGet("AllegroAppToken"));

            //request.Request = RequestEnum.Api;

            //var res = await _client.PostAsync(request);

            //return res;

            return(null);
        }