|
@@ -1714,7 +1714,7 @@ class WorkOrder extends Api
|
|
|
* 获取产品附件列表
|
|
* 获取产品附件列表
|
|
|
*/
|
|
*/
|
|
|
public function annexAdd(){
|
|
public function annexAdd(){
|
|
|
- if(!$this->request->isGet()){
|
|
|
|
|
|
|
+ if(!$this->request->isPost()){
|
|
|
$this->error('请求方式错误');
|
|
$this->error('请求方式错误');
|
|
|
}
|
|
}
|
|
|
$req = $this->request->param();
|
|
$req = $this->request->param();
|