root 4年前
コミット
938c07153b
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      app/Http/Controllers/Api/CompoundController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundController.php ファイルの表示



$kpd = $request->get('kpd'); $kpd = $request->get('kpd');
$success_upload = 0; $count_upload = 0; $success_upload = 0; $count_upload = 0;
$compound = Compound::with('ConfidentialFile')->where('kpd', $kpd)->first();
$compound = Compound::with('ConfidentialFile')->where('kpd', $kpd)->orWhere('non', $kpd)->first();
if(!empty($compound)){ if(!empty($compound)){


if($request->hasFile('file')) { if($request->hasFile('file')) {

読み込み中…
キャンセル
保存