Compare commits
3 Commits
727b892eab
...
ca01d17e9a
Author | SHA1 | Date |
---|---|---|
|
ca01d17e9a | |
|
c3ae430369 | |
|
6160e7a0c5 |
|
@ -69,8 +69,9 @@ public class WxLoginController {
|
||||||
@RequestParam String tel) {
|
@RequestParam String tel) {
|
||||||
try {
|
try {
|
||||||
return ResponseDTO.ok(Ab98ApiUtil.sendLoginSms(token, tel).getOutputData());
|
return ResponseDTO.ok(Ab98ApiUtil.sendLoginSms(token, tel).getOutputData());
|
||||||
} catch (ApiException e) {
|
} catch (Exception e) {
|
||||||
return ResponseDTO.fail(e);
|
log.error("短信发送失败: ", e);
|
||||||
|
return ResponseDTO.fail();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,10 @@ public class MqttService implements MqttCallback {
|
||||||
private static final String PASSWORD = "sell@ys#6785$";
|
private static final String PASSWORD = "sell@ys#6785$";
|
||||||
private static final String TOPIC_FILTER = "lock/up/S5200184S";
|
private static final String TOPIC_FILTER = "lock/up/S5200184S";
|
||||||
private static final String TOPIC = "lock/down/S5200184S";
|
private static final String TOPIC = "lock/down/S5200184S";
|
||||||
|
// private static final String USERNAME = "iot";
|
||||||
|
// private static final String PASSWORD = "iot@ys#9963$";
|
||||||
|
// private static final String TOPIC_FILTER = "hongfa/2401310026C50D24FE/upload/";
|
||||||
|
// private static final String TOPIC = "hongfa/2401310026C50D24FE/download/";
|
||||||
|
|
||||||
private MqttClient client;
|
private MqttClient client;
|
||||||
// 设置自定义消息处理器
|
// 设置自定义消息处理器
|
||||||
|
|
|
@ -141,7 +141,7 @@ public class OrderApplicationService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Transactional
|
// @Transactional
|
||||||
public CreateOrderResult createOrder(SubmitOrderCommand command) {
|
public CreateOrderResult createOrder(SubmitOrderCommand command) {
|
||||||
List<ShopOrderGoodsEntity> goodsList = command.getGoodsList();
|
List<ShopOrderGoodsEntity> goodsList = command.getGoodsList();
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class PaymentApplicationService {
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
AddPaymentOperationLogCommand paymentOperationLogCommand = new AddPaymentOperationLogCommand();
|
AddPaymentOperationLogCommand paymentOperationLogCommand = new AddPaymentOperationLogCommand();
|
||||||
paymentOperationLogCommand.setParams("body:" + jsonBody + " result:" + result);
|
paymentOperationLogCommand.setParams("body:" + jsonBody + " result:" + result);
|
||||||
paymentOperationLogCommand.setOperationType("submitOrder");
|
paymentOperationLogCommand.setOperationType("callJsApiPreCreate");
|
||||||
paymentOperationLogCommand.setStatus(2);
|
paymentOperationLogCommand.setStatus(2);
|
||||||
paymentOperationLogCommand.setRemark(ExceptionUtils.getStackTrace(e));
|
paymentOperationLogCommand.setRemark(ExceptionUtils.getStackTrace(e));
|
||||||
paymentOperationLogCommand.initBaseEntity();
|
paymentOperationLogCommand.initBaseEntity();
|
||||||
|
|
Loading…
Reference in New Issue