浏览代码

latest

master
Siti Rahayu 4 年前
父节点
当前提交
45289c8203
共有 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')) {

正在加载...
取消
保存