...
|
...
|
@@ -387,6 +387,7 @@ class Teacher extends Api |
|
|
*
|
|
|
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
|
|
|
* @ApiParams (name="order_id", type="int", required=true, description="订单ID")
|
|
|
* @ApiParams (name="teacher_id", type="int", required=true, description="老师ID")
|
|
|
* @ApiParams (name="service", type="int", required=true, description="服务态度评分")
|
|
|
* @ApiParams (name="ability", type="int", required=true, description="专业能力评分")
|
|
|
* @ApiParams (name="effect", type="int", required=true, description="解决效果评分")
|
...
|
...
|
@@ -408,6 +409,7 @@ class Teacher extends Api |
|
|
$param['user_id'] = $this->getUserId();
|
|
|
$validate = new Validate([
|
|
|
'order_id' => 'require',
|
|
|
'teacher_id'=>'require',
|
|
|
'service' => 'require',
|
|
|
'ability'=>'require',
|
|
|
'effect'=>'require',
|
...
|
...
|
|