| | |
| | | */
|
| | | private void getCloudInfo(AcceptData acceptData,Long uid, GoodsDetailVO goodsDetail, GoodsDetailExtraVO extraVO) {
|
| | | // 云发单是否开启
|
| | | boolean cloudOpen = configService.isRobotCloudOpen();
|
| | | boolean cloudOpen = configService.isRobotCloudOpen(ConfigKeyEnum.robotCloudOpenGoodsDetail.getKey());
|
| | | if (!cloudOpen && uid != null) {
|
| | | List<String> testUsers = configService.getTestUsers();
|
| | | if (testUsers != null && testUsers.contains(uid+"")) {
|
| | |
| | | }
|
| | | extraVO.setCloudOpen(cloudOpen);
|
| | |
|
| | | if (!goodsDetail.isHasCoupon()) {
|
| | | // 无券或者未开启发圈
|
| | | if (!goodsDetail.isHasCoupon() || !cloudOpen) {
|
| | | return;
|
| | | }
|
| | |
|