|
@@ -457,7 +457,7 @@ class Consult extends Base
|
|
|
if($is_custom===""){
|
|
|
return error_show(1003,"参数is_custom不能为空");
|
|
|
}
|
|
|
- $metal_id= isset($this->post['metal_id'])&&$this->post['metal_id']!==""?intval($this->post['metal_id']):"";
|
|
|
+ $metal_id= isset($this->post['metal_id'])&&$this->post['metal_id']!==""?intval($this->post['metal_id']):"0";
|
|
|
if($metal_id===""){
|
|
|
return error_show(1003,"参数metal_id不能为空");
|
|
|
}
|