| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.yeshi.fanli.util.SystemInfoUtil;
|
| | | import org.springframework.stereotype.Controller;
|
| | | import org.springframework.web.bind.annotation.RequestMapping;
|
| | | import org.springframework.web.bind.annotation.RequestMethod;
|
| | |
| | | JSONObject data = new JSONObject();
|
| | |
|
| | | if (goodsType == Constant.SOURCE_TYPE_JD) {
|
| | | String open = configService.get(ConfigKeyEnum.shareOpenJD.getKey());
|
| | | String open = configService.getValue(ConfigKeyEnum.shareOpenJD.getKey(), SystemInfoUtil.getSystem(acceptData));
|
| | | if (!"1".equals(open.trim())) {
|
| | | data.put("count", 0);
|
| | | data.put("result_list", array);
|