mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 订单列表添加车牌号字段
This commit is contained in:
@@ -102,11 +102,6 @@ public class LTYTServiceImpl implements LTYTService {
|
||||
if (StringUtils.isBlank(token)) {
|
||||
throw new BusinessException("", "路通云停系统 给指定车辆绑定优惠券 方法获取令牌失败");
|
||||
}
|
||||
// LTYTCommonParams params = new LTYTCommonParams();
|
||||
// params.setAppId(dto.getAppId());
|
||||
// params.setAccTime(DateUtils.dateTimeNow(DateUtils.YYYYMMDDHHMMSS));
|
||||
// params.setToken(token);
|
||||
// params.setVersion("1.0");
|
||||
|
||||
String url = BASE_URL + "bindCoupon";
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
@@ -127,8 +122,9 @@ public class LTYTServiceImpl implements LTYTService {
|
||||
// 发送请求
|
||||
String result = HttpUtil.post(url, JSON.toJSONString(jsonObject));
|
||||
log.info("给指定车辆绑定优惠券 params:{}, result:{}", JSON.toJSONString(jsonObject), result);
|
||||
JSONObject resultJson = JSONObject.parseObject(result);
|
||||
|
||||
return null;
|
||||
return resultJson.getString("msg");
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws UnsupportedEncodingException {
|
||||
|
||||
Reference in New Issue
Block a user