记得上下班打卡 | git大法好,push需谨慎

Commit f31df58e authored by 张国柄's avatar 张国柄

~admin:会员管理:会员订单:接口调用添加HEADER:Accept;

parent 7faa05be
......@@ -24,6 +24,7 @@ import com.liquidnet.service.adam.mapper.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
......@@ -217,7 +218,7 @@ public class AdamMemberOrderAdminServiceImpl extends ServiceImpl<AdamMemberOrder
linkedMultiValueMap.add("priceTotal", String.valueOf(memberOrder.getPricePaid()));
linkedMultiValueMap.add("reason", reason);
LinkedMultiValueMap<String, String> linkedMultiheadersMap = new LinkedMultiValueMap<>();
linkedMultiheadersMap.add("Accept", "application/json;charset=UTF-8");
linkedMultiheadersMap.add("Accept", MediaType.APPLICATION_JSON_UTF8_VALUE.toString());
log.info("会员管理:会员订单:退款:支付中心请求参数:{}", linkedMultiValueMap);
String postResult = HttpUtil.post(applyUrl, linkedMultiValueMap, linkedMultiheadersMap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment