mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-24 04:55:08 +08:00
新增 路通云停平台 给车辆绑定优惠券接口
This commit is contained in:
@@ -45,6 +45,7 @@ import com.jsowell.pile.domain.ykcCommond.IssueQRCodeCommand;
|
||||
import com.jsowell.pile.domain.ykcCommond.ProofreadTimeCommand;
|
||||
import com.jsowell.pile.dto.*;
|
||||
import com.jsowell.pile.dto.amap.GetStationInfoDTO;
|
||||
import com.jsowell.pile.dto.lutongyunting.BindCouponDTO;
|
||||
import com.jsowell.pile.dto.lutongyunting.GetTokenDTO;
|
||||
import com.jsowell.pile.mapper.MemberBasicInfoMapper;
|
||||
import com.jsowell.pile.mapper.PileBillingTemplateMapper;
|
||||
@@ -402,12 +403,22 @@ public class SpringBootTestController {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testParking() {
|
||||
GetTokenDTO dto = new GetTokenDTO();
|
||||
public void testParking() throws UnsupportedEncodingException {
|
||||
// GetTokenDTO dto = new GetTokenDTO();
|
||||
// dto.setAppId("I2qa3hdr116100dc");
|
||||
// dto.setSecretKey("2qa3hdr13754a8e");
|
||||
// String token = ltytService.getToken(dto);
|
||||
// System.out.println(token);
|
||||
|
||||
BindCouponDTO dto = new BindCouponDTO();
|
||||
dto.setAppId("I2qa3hdr116100dc");
|
||||
dto.setSecretKey("2qa3hdr13754a8e");
|
||||
String token = ltytService.getToken(dto);
|
||||
System.out.println(token);
|
||||
dto.setMerchantId("3prv98bm8db70a9");
|
||||
dto.setCouponId("3prvd0q7a4817bf");
|
||||
dto.setPlateNumber("贵A12345");
|
||||
dto.setPlateColor(1);
|
||||
String s = ltytService.bindCoupon(dto);
|
||||
System.out.println(s);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user