Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrric committed Aug 6, 2020
1 parent 10e486c commit 97798a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/github/lyrric/service/HttpService.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class HttpService {
* @throws BusinessException
*/
public String secKill(String seckillId, String vaccineIndex, String linkmanId, String idCard) throws IOException, BusinessException {
String path = baseUrl+"/seckill/vaccine/subscribe.do";
String path = baseUrl+"/seckill/seckill/vaccine/subscribe.do";
Map<String, String> params = new HashMap<>();
params.put("seckillId", seckillId);
params.put("vaccineIndex", vaccineIndex);
Expand All @@ -83,7 +83,7 @@ public String secKill(String seckillId, String vaccineIndex, String linkmanId, S
* @param orderId 订单ID
*/
public List<SubDate> getSkSubDays(String vaccineId, String orderId) throws IOException, BusinessException {
String path = baseUrl+"/seckill/subscribeDays.do";
String path = baseUrl+"/seckill/seckill/subscribeDays.do";
Map<String, String> params = new HashMap<>();
params.put("seckillId", vaccineId);
params.put("vaccineIndex", orderId);
Expand All @@ -102,7 +102,7 @@ public List<SubDate> getSkSubDays(String vaccineId, String orderId) throws IOExc
* @throws BusinessException
*/
public List<SubDateTime> getSkSubDayTime(String vaccineId, String orderId, String day) throws IOException, BusinessException {
String path = baseUrl+"/seckill/dayTimes.do";
String path = baseUrl+"/seckill/seckill/dayTimes.do";
Map<String, String> params = new HashMap<>();
params.put("id", vaccineId);
params.put("sid", orderId);
Expand All @@ -122,7 +122,7 @@ public List<SubDateTime> getSkSubDayTime(String vaccineId, String orderId, Strin
* @throws BusinessException
*/
public void subDayTime(String vaccineId, String orderId, String day, String wid) throws IOException, BusinessException {
String path = baseUrl+"/seckill/submitDateTime.do";
String path = baseUrl+"/seckill/seckill/submitDateTime.do";
Map<String, String> params = new HashMap<>();
params.put("id", vaccineId);
params.put("sid", orderId);
Expand Down

0 comments on commit 97798a6

Please sign in to comment.