| xqd
@@ -185,7 +185,7 @@ class DynamicController extends Controller
|
|
|
try {
|
|
|
$user = auth('api')->user();
|
|
|
$UserReportParam = new UserReportParam();
|
|
|
- $UserReportParam->type = 2;
|
|
|
+ $UserReportParam->type = $request->post('type'); //1用户 2动态
|
|
|
$UserReportParam->user_id = $user->id;
|
|
|
$UserReportParam->content = $request->post('content');
|
|
|
$UserReportParam->report_id = $request->post('id');
|