我需要在@Component
public class FilaPartnerServiceImpl implements FilaPartnerService {
@Autowired
private RestTemplate restTemplate;
@Autowired
private RetrieveRequestBuilder retrieveRequestBuilder;
@Value("${filaPartner.url}")
private String filaServiceUrl;
@Override
public RetrievePaymentTokenResponse retrieveFilaPaymentToken(SupplierTokenRequest request) {
RetrievePaymentTokenResponse tokenResponse = null;
RetrievePaymentTokenRequest paymentServiceRequest = retrievePaymentTokenRequestBuilder.retrievePaymentTokenRequestBuilder(request);
try {
tokenResponse =
restTemplate.postForObject( FilaServiceUrl, paymentServiceRequest, RetrievePaymentTokenResponse.class);
} catch (RestClientException exp) {
//TO-DO return error code
}
return null;
}
}
创建的文件夹中创建一个特定文件夹。但是我缺少我需要为Laravel设置的权限以便以后正确使用它。只是这个吗?:
$file->store()
只是每当我阅读mkdir($dir, 0777, ...)
时,有些东西告诉我这是对的。那么,Laravel可能是777
吗?在Windows下运行。