count(); } /** * 获取小程序二维码信息 * @param int $id * @param string $field * @return array|bool|false|\PDOStatement|string|\think\Model * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\ModelNotFoundException * @throws \think\exception\DbException */ public static function getRoutineQrcodeFindType($id = 0,$field = 'third_type,third_id,page'){ if(!$id) return false; $count = self::getRoutineQrcodeFind($id); if(!$count) return false; return self::where('id',$id)->where('status',1)->field($field)->find(); } }