|
@@ -52,8 +52,6 @@ class Ticket5UploadDataController extends BaseController |
|
@@ -52,8 +52,6 @@ class Ticket5UploadDataController extends BaseController |
|
52
|
if($projectInfo === false){
|
52
|
if($projectInfo === false){
|
|
53
|
$this->response('当前项目不存在或数据未同步',Code::SYSTEM_ERROR);
|
53
|
$this->response('当前项目不存在或数据未同步',Code::SYSTEM_ERROR);
|
|
54
|
}
|
54
|
}
|
|
55
|
- //todo::目前写死
|
|
|
|
56
|
- $projectInfo['website'] = 'https://devmark.globalso.com/';
|
|
|
|
57
|
$action = $project5CateModel->getCateTypeAction($this->param['type']);
|
55
|
$action = $project5CateModel->getCateTypeAction($this->param['type']);
|
|
58
|
if(empty($action)){
|
56
|
if(empty($action)){
|
|
59
|
$this->response('未知请求',Code::SYSTEM_ERROR);
|
57
|
$this->response('未知请求',Code::SYSTEM_ERROR);
|
|
@@ -101,8 +99,6 @@ class Ticket5UploadDataController extends BaseController |
|
@@ -101,8 +99,6 @@ class Ticket5UploadDataController extends BaseController |
|
101
|
$this->response('当前项目不存在或数据未同步',Code::SYSTEM_ERROR);
|
99
|
$this->response('当前项目不存在或数据未同步',Code::SYSTEM_ERROR);
|
|
102
|
}
|
100
|
}
|
|
103
|
$project5CateModel = new Project5Cate();
|
101
|
$project5CateModel = new Project5Cate();
|
|
104
|
- //todo::目前写死,上线放开
|
|
|
|
105
|
- $projectInfo['website'] = 'https://devmark.globalso.com/';
|
|
|
|
106
|
$action = $project5CateModel->saveCateTypeAction($this->param['type']);
|
102
|
$action = $project5CateModel->saveCateTypeAction($this->param['type']);
|
|
107
|
$url = $projectInfo['website'].'wp-admin/admin-ajax.php?action='.$action;
|
103
|
$url = $projectInfo['website'].'wp-admin/admin-ajax.php?action='.$action;
|
|
108
|
if(empty($action)){
|
104
|
if(empty($action)){
|