Commit dc3cb320 by Sweet Zhang

增加shareCode

parent aea78dc9
...@@ -242,6 +242,7 @@ $(function () { ...@@ -242,6 +242,7 @@ $(function () {
}, },
deviceType: param.deviceType, deviceType: param.deviceType,
paymentMethod: '1', paymentMethod: '1',
shareCode: getQueryString('shareCode')
} }
if (isWeiXin()) { if (isWeiXin()) {
data.paymentMethod = '1'; data.paymentMethod = '1';
...@@ -321,10 +322,10 @@ $(function () { ...@@ -321,10 +322,10 @@ $(function () {
return false; return false;
} }
} }
getWxConfig(); getWxConfig();
// 获取微信分享配置 // 获取微信分享配置
function getWxConfig() function getWxConfig() {
{
var url = location.href.split('#')[0]; var url = location.href.split('#')[0];
$.ajax({ $.ajax({
type: "POST", type: "POST",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment