mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
cleanup cli log add REQUEST_ID
This commit is contained in:
@@ -62,10 +62,8 @@ class Test extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
$r = Tag::query()->paginate();
|
$r = urldecode('%E8%8E%B7%E5%8F%96%E7%A8%8B%E5%BA%8F');
|
||||||
$resource = TagResource::collection($r);
|
echo $r;
|
||||||
dd($resource->response()->getData(true));
|
|
||||||
echo $r->updated_at;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ die('Hacking attempt!');
|
|||||||
|
|
||||||
function printProgress($msg) {
|
function printProgress($msg) {
|
||||||
$br = php_sapi_name() == 'cli' ? "\n" : "<br />";
|
$br = php_sapi_name() == 'cli' ? "\n" : "<br />";
|
||||||
echo sprintf("[%s] %s ... done!%s", date('Y-m-d H:i:s'), $msg, $br);
|
echo sprintf("[%s] [%s] %s ... done!%s", date('Y-m-d H:i:s'), REQUEST_ID, $msg, $br);
|
||||||
}
|
}
|
||||||
|
|
||||||
function torrent_promotion_expire($days, $type = 2, $targettype = 1){
|
function torrent_promotion_expire($days, $type = 2, $targettype = 1){
|
||||||
|
|||||||
Reference in New Issue
Block a user