상세수정 #48
@@ -204,7 +204,7 @@ $routes->group('', ['namespace' => 'App\Controllers\V2'], static function ($rout
|
||||
$routes->get('m702a/getResultList', 'M702::getResultList');
|
||||
$routes->get('m702a/excel', 'M702::excel');
|
||||
$routes->post('m702a/updateAssign', 'M702::updateAssign'); // 배정변경
|
||||
|
||||
$routes->post('m702a/saveTel', 'M702::saveTel'); // 전화확인 정보 저장
|
||||
$routes->post('m702a/modifyInfo', 'M702::modifyInfo'); // 매물정보저장
|
||||
|
||||
$routes->post('m702a/uploadFile', 'M702::uploadFile'); // 파일업로드
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
namespace App\Controllers\V2;
|
||||
|
||||
use App\Controllers\BaseController;
|
||||
use App\Libraries\NaverApiClient;
|
||||
use App\Models\common\CodeModel;
|
||||
use App\Models\results\M415Model;
|
||||
use App\Models\v2\M703Model;
|
||||
@@ -400,6 +401,8 @@ class M703 extends BaseController
|
||||
// 결과저장
|
||||
public function saveResult()
|
||||
{
|
||||
$naver = new NaverApiClient();
|
||||
|
||||
try {
|
||||
|
||||
$fax_sq = $this->request->getPost('fax_sq');
|
||||
@@ -461,8 +464,7 @@ class M703 extends BaseController
|
||||
//2.아무렇지않게 행동한다
|
||||
$send_result['result'] = 'success';
|
||||
} else {
|
||||
// $this->load->library('call_kiso_api');
|
||||
// $send_result = $this->call_kiso_api->confirm($sendData['atclNo'], $sendData['success'], $sendData['checkList'], $sendData['charger'], $sendData['modifyInfo'], $sendData['date']);
|
||||
$send_result = $naver->confirm($sendData['atclNo'], $sendData['success'], $sendData['checkList'], $sendData['charger'], $sendData['modifyInfo'], $sendData['date']);
|
||||
}
|
||||
|
||||
if ($send_result['result'] == 'success') {
|
||||
|
||||
@@ -317,7 +317,7 @@ class M702Model extends Model
|
||||
c.ptp_no,
|
||||
d.insert_tm as update_res_tm,
|
||||
e.insert_tm as result_tm,
|
||||
f.region_nm,
|
||||
IFNULL(f.region_nm , '') as region_nm,
|
||||
g.cd_nm as pre_stat,
|
||||
h.cd_nm as vrfc_type,
|
||||
i.usr_nm,
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
style="max-width: 320px;">
|
||||
<input type="text" class="form-control"
|
||||
name="atcl_no" id="atcl_no"
|
||||
value="<?= $data['atcl_no'] ?>" maxlength="10"
|
||||
value="<?= $data['fax_sq'] ?>" maxlength="10"
|
||||
placeholder="매물번호 입력">
|
||||
<button type="button"
|
||||
class="btn btn-outline-primary"
|
||||
@@ -1578,7 +1578,7 @@
|
||||
}
|
||||
|
||||
Swal.fire({
|
||||
title: msg,
|
||||
title: "매물조회 실패",
|
||||
icon: "error"
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user