|
@@ -147,9 +147,9 @@ public class InquiryOrderController extends AppBaseController {
|
|
// if (StringUtils.isBlank(user.getMaOpenId()) && !CloudHostUtils.hasCloudHostName("弘德堂")) {
|
|
// if (StringUtils.isBlank(user.getMaOpenId()) && !CloudHostUtils.hasCloudHostName("弘德堂")) {
|
|
// return R.error("用户OPENID不存在");
|
|
// return R.error("用户OPENID不存在");
|
|
// }
|
|
// }
|
|
- if (!CloudHostUtils.hasCloudHostName("弘德堂")) {
|
|
|
|
- return R.error("用户OPENID不存在");
|
|
|
|
- }
|
|
|
|
|
|
+// if (!CloudHostUtils.hasCloudHostName("弘德堂")) {
|
|
|
|
+// return R.error("用户OPENID不存在");
|
|
|
|
+// }
|
|
|
|
|
|
return inquiryOrderService.computeOrder(param, order, user);
|
|
return inquiryOrderService.computeOrder(param, order, user);
|
|
} else if (param.getType() == 2) {
|
|
} else if (param.getType() == 2) {
|
|
@@ -182,10 +182,10 @@ public class InquiryOrderController extends AppBaseController {
|
|
FsUser user=userService.selectFsUserByUserId(Long.parseLong(getUserId()));
|
|
FsUser user=userService.selectFsUserByUserId(Long.parseLong(getUserId()));
|
|
if(user!=null){
|
|
if(user!=null){
|
|
|
|
|
|
- // 红德堂特殊处理
|
|
|
|
- if (!CloudHostUtils.hasCloudHostName("弘德堂")) {
|
|
|
|
- return R.error("用户OPENID不存在");
|
|
|
|
- }
|
|
|
|
|
|
+// // 红德堂特殊处理
|
|
|
|
+// if (!CloudHostUtils.hasCloudHostName("弘德堂")) {
|
|
|
|
+// return R.error("用户OPENID不存在");
|
|
|
|
+// }
|
|
|
|
|
|
if(param.getUserCouponId()!=null&¶m.getUserCouponId()>0l){
|
|
if(param.getUserCouponId()!=null&¶m.getUserCouponId()>0l){
|
|
FsUserCoupon userCoupon=userCouponService.selectFsUserCouponById(param.getUserCouponId());
|
|
FsUserCoupon userCoupon=userCouponService.selectFsUserCouponById(param.getUserCouponId());
|