Browse Source

debug

master
xiaodong 2 weeks ago
parent
commit
86f1197581
  1. 5
      app/controller/backend/InquiryController.php
  2. 2
      public/backend/index.html

5
app/controller/backend/InquiryController.php

@ -108,6 +108,11 @@ class InquiryController extends BaseController {
} catch (ValidateException $e){ } catch (ValidateException $e){
return jsonReturn(-4, $e->getMessage()); return jsonReturn(-4, $e->getMessage());
} }
if (isset($param['create_time']) && !empty($param['create_time'])) {
if (!is_numeric($param['create_time'])) {
$param['create_time'] = strtotime($param['create_time']);
}
}
$inquiry = new Inquiry(); $inquiry = new Inquiry();
$res = $inquiry->updateInquiry($param); $res = $inquiry->updateInquiry($param);

2
public/backend/index.html
File diff suppressed because it is too large
View File

Loading…
Cancel
Save