Resource.php
350 字节
<?php
namespace app\common\controller;
use tinymeng\code\Generate;
class Resource
{
public static function StudyBar($unique){
$generate = Generate::bar();
$file_path = $generate->create($unique,true,true);
$file_path = substr($file_path,strripos($file_path,"public")+6);
return $file_path;
}
}