images = new Images(); } /** * 服务站专员评价小程序码 */ public function getServicePersonnel($id, $path) { $param = "page=details&id={$id}"; $path = "zh_cjdianc/pages/Liar/loginindex"; $codeStore = $this->images->createQrCode($param,$path); $storeImgPath = 'QR_code/code_service_personnel_img/personnel_'.$id.'.jpg'; $res = $this->images->uploadOss($codeStore,$storeImgPath); if($res){ return ['status' => true ,'path' => $storeImgPath]; }else{ return ['status' => false ,'path' => '']; } } }