mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Test.php
This commit is contained in:
parent
f72e1d45eb
commit
fd06b76e8c
@ -215,9 +215,9 @@ class Test extends Controller
|
|||||||
echo "
|
echo "
|
||||||
<script src='//res.wx.qq.com/open/js/jweixin-1.2.0.js'></script>
|
<script src='//res.wx.qq.com/open/js/jweixin-1.2.0.js'></script>
|
||||||
<script>
|
<script>
|
||||||
wx.config($configJSON);
|
wx.config({$configJSON});
|
||||||
document.getElementById('paytest').onclick = function(){
|
document.getElementById('paytest').onclick = function(){
|
||||||
var options = $optionJSON;
|
var options = {$optionJSON};
|
||||||
options.success = function(){
|
options.success = function(){
|
||||||
alert('支付成功');
|
alert('支付成功');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user