Explorar el Código

修复支付订单bug

kobe6258 hace 5 meses
padre
commit
8b0aa616f9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      controllers/order/subscribe_controller.go

+ 1 - 0
controllers/order/subscribe_controller.go

@@ -184,6 +184,7 @@ func (sc *SubscribeController) SubscribeProduct() {
 		if err != nil {
 			if err.Error() == exception.GetMsg(exception.DuplicateSubscribe) {
 				sc.FailedResult("请勿重复订阅"+err.Error(), result)
+				return
 			}
 			sc.FailedResult("创建订单失败", result)
 			return