root 4 年之前
父節點
當前提交
938c07153b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      app/Http/Controllers/Api/CompoundController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundController.php 查看文件

@@ -219,7 +219,7 @@ class CompoundController extends BaseController

$kpd = $request->get('kpd');
$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($request->hasFile('file')) {

Loading…
取消
儲存