作者 何书鹏
1 个管道 的构建 通过 耗费 2 秒

合并分支 'heshupeng' 到 'master'

证书年份



查看合并请求 !243
... ... @@ -656,6 +656,7 @@ class User extends Api
->where('a.id',$id)
->field('a.id,a.score,a.user_id,a.study_id,a.createtime,b.yinimage,b.workname,c.studynum,b.class_hour,c.image,c.card,c.nickname')
->find();
$year = date('Y',$data['createtime']);
$data['createtime'] = date('Y年m月d日',$data['createtime']);
... ... @@ -700,7 +701,6 @@ class User extends Api
$file_path = "$id.png";
$image = \think\Image::open(ROOT_PATH."public/assets/img/yuan.png");
$path_ttf = ROOT_PATH.'public/assets/fonts/PingFang.ttf';
$year = date('Y');
//证书编号
$text = 'TJAG'.$year.$data['studynum'].$id;
//培训单位盖章
... ...