|
|
|
@ -11,16 +11,8 @@ use Hyperf\Paginator\Paginator; |
|
|
|
class ServiceEvaluateService implements ServiceEvaluateServiceInterface |
|
|
|
{ |
|
|
|
|
|
|
|
/** |
|
|
|
* @Inject |
|
|
|
* @var RequestInterface |
|
|
|
*/ |
|
|
|
private $request; |
|
|
|
|
|
|
|
public function evaluate() |
|
|
|
public function evaluate($data) |
|
|
|
{ |
|
|
|
$data = $this->request->all(); |
|
|
|
|
|
|
|
$data['user_created_at'] = Db::table('ims_cjdc_user') |
|
|
|
->where(['id' => $data['user_id']]) |
|
|
|
->value('join_time'); |
|
|
|
@ -46,6 +38,7 @@ class ServiceEvaluateService implements ServiceEvaluateServiceInterface |
|
|
|
return $res; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function getQuickEvaluate() |
|
|
|
{ |
|
|
|
$data = (object)null; |
|
|
|
|