修复问题

This commit is contained in:
zyx0814
2024-05-03 20:51:24 +08:00
Unverified
parent bd7b44b7bc
commit 5f3d1d6adb
4 changed files with 28 additions and 12 deletions

View File

@@ -24,12 +24,11 @@ if (!$data) exit(json_encode(array('error' => 'no data')));
if ($data['state'] != 3 || $data['isdelete'] > 0) exit(json_encode(array('error' => 'is deleted or state is not allow')));
if ($data['type'] == 0) {
include_once DZZ_ROOT.'dzz'.BS.'eagle'.BS.'class'.BS.'class_eagleexport.php';
//include_once dzz_libfile('eagleexport');
$eagleexport = new eagleexport($data);
try{
$return = $eagleexport->execCheckFile();
}catch (Exception $e){
C::t('pichome_vapp')->update($appid,['state'=>0]);
//C::t('pichome_vapp')->update($appid,['state'=>0]);
runlog('eagleexporterror', $appid . $e->getMessage());
dzz_process::unlock($processname);
}
@@ -41,7 +40,7 @@ if ($data['type'] == 0) {
try{
$return = $localexport->execCheckFile();
}catch (Exception $e){
C::t('pichome_vapp')->update($appid,['state'=>0]);
//C::t('pichome_vapp')->update($appid,['state'=>0]);
runlog('localexporterror', $appid . $e->getMessage());
dzz_process::unlock($processname);
}
@@ -52,7 +51,7 @@ if ($data['type'] == 0) {
try{
$return = $billfishxport->execCheckFile();
}catch (Exception $e){
C::t('pichome_vapp')->update($appid,['state'=>0]);
//C::t('pichome_vapp')->update($appid,['state'=>0]);
runlog('billfishexporterror', $appid . $e->getMessage());
dzz_process::unlock($processname);
}