| | |
| | | import org.springframework.stereotype.Component;
|
| | |
|
| | | import com.yeshi.fanli.entity.accept.AcceptData;
|
| | | import com.yeshi.fanli.entity.system.System;
|
| | | import com.yeshi.fanli.service.inter.config.SystemService;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | | import com.yeshi.fanli.service.inter.config.BusinessSystemService;
|
| | |
|
| | | @Component
|
| | | public class WebControllerUtil {
|
| | |
| | | static final String HB_EXCEPTION ="打开红包失败";
|
| | |
|
| | | @Resource
|
| | | private SystemService systemService;
|
| | | System getSystem(AcceptData acceptData) {
|
| | | private BusinessSystemService businessSystemService;
|
| | | BusinessSystem getSystem(AcceptData acceptData) {
|
| | | String platform = acceptData.getPlatform();
|
| | | String packages = acceptData.getPackages();
|
| | | System system= systemService.getSystem(platform, packages);
|
| | | BusinessSystem system= businessSystemService.getBusinessSystem(platform, packages);
|
| | | return system;
|
| | | }
|
| | | }
|