|
@@ -8,8 +8,9 @@ http://m.huaml.com/#main/index?account=12358&shopId=15680
|
|
|
其中 #main/index 可以自行定义 ,其它为固定格式,不能改变。
|
|
其中 #main/index 可以自行定义 ,其它为固定格式,不能改变。
|
|
|
<script>
|
|
<script>
|
|
|
var code = encodeURIComponent('#main/index?account=12358&shopId=15680');
|
|
var code = encodeURIComponent('#main/index?account=12358&shopId=15680');
|
|
|
|
|
+ <?php if(empty($token)){ ?>
|
|
|
window.location='<?= $host ?>/auth/prepare?suffixUrl='+code+'&authScope=snsapi_base&account=12358';
|
|
window.location='<?= $host ?>/auth/prepare?suffixUrl='+code+'&authScope=snsapi_base&account=12358';
|
|
|
-
|
|
|
|
|
|
|
+ <?php } ?>
|
|
|
/*
|
|
/*
|
|
|
function StandardPost(url,args){
|
|
function StandardPost(url,args){
|
|
|
var form = $("<form method='post'></form>"),
|
|
var form = $("<form method='post'></form>"),
|