|
@@ -954,8 +954,12 @@ public class FsStoreOrderController extends BaseController
|
|
|
@GetMapping("/getErpAccount")
|
|
|
public R getErpAccount()
|
|
|
{
|
|
|
- List<DFConfigVo> erpAccounts = fsStoreOrderService.getErpAccount();
|
|
|
- List<String> list = erpAccounts.stream().map(DFConfigVo::getLoginAccount).collect(Collectors.toList());
|
|
|
+ List<String> list = new ArrayList<>();
|
|
|
+ if (CloudHostUtils.hasCloudHostName("金牛明医","康年堂")){
|
|
|
+ List<DFConfigVo> erpAccounts = fsStoreOrderService.getErpAccount();
|
|
|
+ list = erpAccounts.stream().map(DFConfigVo::getLoginAccount).collect(Collectors.toList());
|
|
|
+ }
|
|
|
+
|
|
|
return R.ok().put("data", list);
|
|
|
}
|
|
|
}
|