Commit 1caffb1f authored by hujun's avatar hujun

1

parent b3176c67
...@@ -42,7 +42,7 @@ class UploadWorkLearning extends Basic ...@@ -42,7 +42,7 @@ class UploadWorkLearning extends Basic
$url = 'static/week_work_img/' .date('Ymd'); $url = 'static/week_work_img/' .date('Ymd');
if (!file_exists($url)) { if (!file_exists($url)) {
mkdir($url); mkdir($url, 0777);
} }
$url .= '/'. $img_name; $url .= '/'. $img_name;
$code = 200; $code = 200;
...@@ -85,7 +85,6 @@ class UploadWorkLearning extends Basic ...@@ -85,7 +85,6 @@ class UploadWorkLearning extends Basic
if (!empty($this->params['agent_id'])) { if (!empty($this->params['agent_id'])) {
$where['agent_id'] = $this->params['agent_id']; $where['agent_id'] = $this->params['agent_id'];
} }
$where['agent_id'] = 1;
$where['type'] = $this->params['type'];//0素质测评 1方法分析 2价值观考核 $where['type'] = $this->params['type'];//0素质测评 1方法分析 2价值观考核
$where['is_del'] = 0; $where['is_del'] = 0;
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment