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

Commit 4998df6c authored by 胡佳晨's avatar 胡佳晨

限购相关

parent 27002eed
......@@ -460,9 +460,9 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
LinkedMultiValueMap<String, String> httpData = new LinkedMultiValueMap<String, String>();
httpData.add("type", "TICKET");
if (Arrays.asList("dev", "test").contains(environment.getProperty("spring.profiles.active"))) {
httpData.add("price", orderTickets.getPriceActual().toString());
} else {
httpData.add("price", "0.01");
} else {
httpData.add("price", orderTickets.getPriceActual().toString());
}
httpData.add("name", useTime+ticketData.getTitle() + "-" + performanceData.getTitle());
httpData.add("detail", performanceData.getTitle() + "-" + ticketData.getTitle() + "-" + useTime);
......
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