grails 使用qrcode插件生成二维码
来源:互联网 发布:淘宝账号不能注销 编辑:程序博客网 时间:2024/04/20 08:03
grails项目使用qrcode插件:
(1)在BuildConfig.groovy中引入安装插件:
plugins {
runtime ":hibernate:$grailsVersion"
runtime ":jquery:1.8.3"
runtime ":resources:1.1.6"
// Uncomment these (or add new ones) to enable additional resources capabilities
//runtime ":zipped-resources:1.0"
//runtime ":cached-resources:1.0"
//runtime ":yui-minify-resources:0.1.4"
build ":tomcat:$grailsVersion"
runtime ":database-migration:1.2.1"
compile "org.grails.plugins:qrcode:0.7"
}
若提示安装插件不成功,就为其指定下载来源:
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
mavenLocal()
mavenCentral()
mavenRepo "http://repo.grails.org/grails/plugins/"
}
(2)插件安装成功后,在gsp页面直接引用就可以了:
<qrcode:image text="${wxurl}"/>
- grails 使用qrcode插件生成二维码
- qrcode插件生成二维码
- QRCode插件生成二维码
- js使用qrcode插件生成二维码
- 使用jQuery插件qrcode生成二维码
- 使用QRCode生成二维码
- 使用QRCode生成二维码
- 使用qrcode生成二维码
- 使用QRCode生成二维码
- 使用QRCode生成二维码
- 使用QrCode生成二维码
- 使用qrcode生成二维码
- jquery qrcode二维码生成插件
- jquery qrcode二维码生成插件
- JQ插件:qrcode生成二维码
- jQuery.qrcode二维码插件生成网页二维码
- QRCode插件的使用(二维码识别与生成)
- 使用jquery.qrcode生成二维码
- jsp分页标签pg:pager标签运用
- appium 通过testng 实现在不同的测试机上并行执行测试用例
- Android Studio使用Vector Asset的注意事项
- python实现http接口测试框架
- mysql5.7压缩包安装
- grails 使用qrcode插件生成二维码
- git_clone_issue_Memory
- ServletContextListener使用详解
- Linux下如何生成core dump文件
- 4.3
- File源码解析
- 【Android】开发干货-技术分享之AndResGuard资源混淆的使用
- SE复习日记【二】GitHub初体验
- stm32 独立看门狗和窗口看门狗区别