...
|
...
|
@@ -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;
|
|
|
//培训单位盖章
|
...
|
...
|
|