Browse Source

add user_id to task log

master
filesite 7 months ago
parent
commit
c8d572ba27
  1. 4
      themes/tajian/controller/FrontapiController.php

4
themes/tajian/controller/FrontapiController.php

@ -208,6 +208,10 @@ Class FrontApiController extends SiteController { @@ -208,6 +208,10 @@ Class FrontApiController extends SiteController {
'created' => time(),
);
if (!empty($config['multipleUserUriParse'])) {
$content['user'] = !empty(FSC::$app['user_id']) ? FSC::$app['user_id'] : '';
}
fwrite($fp, json_encode($content) . "\n");
}catch(Exception $err) {
$saved = false;

Loading…
Cancel
Save