获取处方订单详情增加是否转换图片字段
This commit is contained in:
parent
7173db8219
commit
f54424cf2d
@ -17,9 +17,7 @@ use Hyperf\Snowflake\Concern\Snowflake;
|
|||||||
* @property string $hospital_ca_file_id 医院签章pdf文件id(可请求ca下载)
|
* @property string $hospital_ca_file_id 医院签章pdf文件id(可请求ca下载)
|
||||||
* @property string $prescription_img_oss_path 签章img文件oss路径
|
* @property string $prescription_img_oss_path 签章img文件oss路径
|
||||||
* @property string $prescription_pdf_oss_path 签章pdf文件oss路径
|
* @property string $prescription_pdf_oss_path 签章pdf文件oss路径
|
||||||
* @property string $doctor_sign_image_path 医生签名图片oss地址
|
* @property int $is_converted_pdf 是否已转换pdf为图片(0:否 1:是)
|
||||||
* @property string $pharmacist_sign_image_path 药师签名图片oss地址
|
|
||||||
* @property string $hospital_sign_image_path 医院签名图片oss地址
|
|
||||||
* @property \Carbon\Carbon $created_at 创建时间
|
* @property \Carbon\Carbon $created_at 创建时间
|
||||||
* @property \Carbon\Carbon $updated_at 修改时间
|
* @property \Carbon\Carbon $updated_at 修改时间
|
||||||
*/
|
*/
|
||||||
@ -35,7 +33,7 @@ class OrderPrescriptionFile extends Model
|
|||||||
/**
|
/**
|
||||||
* The attributes that are mass assignable.
|
* The attributes that are mass assignable.
|
||||||
*/
|
*/
|
||||||
protected array $fillable = ['prescription_file_id', 'order_prescription_id', 'doctor_ca_file_id', 'hospital_ca_file_id', 'prescription_img_oss_path', 'prescription_pdf_oss_path', 'doctor_sign_image_path', 'pharmacist_sign_image_path', 'hospital_sign_image_path', 'created_at', 'updated_at'];
|
protected array $fillable = ['prescription_file_id', 'order_prescription_id', 'doctor_ca_file_id', 'hospital_ca_file_id', 'prescription_img_oss_path', 'prescription_pdf_oss_path', 'is_converted_pdf', 'created_at', 'updated_at'];
|
||||||
|
|
||||||
protected string $primaryKey = "prescription_file_id";
|
protected string $primaryKey = "prescription_file_id";
|
||||||
|
|
||||||
|
|||||||
@ -2045,6 +2045,9 @@ class PatientOrderService extends BaseService
|
|||||||
// 获取处方医院签名
|
// 获取处方医院签名
|
||||||
$order_prescription['hospital_sign_image'] = "https://img.applets.igandanyiyuan.com/basic/file/hospital_signature.png";
|
$order_prescription['hospital_sign_image'] = "https://img.applets.igandanyiyuan.com/basic/file/hospital_signature.png";
|
||||||
|
|
||||||
|
// 是否已转换pdf为图片
|
||||||
|
$order_prescription['is_converted_pdf'] = $order_prescription_file['is_converted_pdf'];
|
||||||
|
|
||||||
return success($order_prescription->toArray());
|
return success($order_prescription->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user