Ver Fonte

feat: 原有接口添加平台参数

zhangyuhan há 2 anos atrás
pai
commit
469f3d47ae

+ 4 - 0
src/jfw/modules/app/src/web/templates/me/customer.html

@@ -45,6 +45,10 @@
       $.post({
         url: '/jyapi/social/obtainShunt',
         contentType: 'application/json',
+        data: JSON.stringify({
+          type: 'APP',
+          isFind: true
+        }),
         success: function(res) {
           if (res && res.data && res.data.url) {
             location.href = res.data.url

+ 1 - 0
src/web/staticres/public-pc/js/pc-bottom.js

@@ -33,6 +33,7 @@ function goCustomerUrl () {
   $.post({
     url: '/jyapi/social/obtainShunt',
     contentType: 'application/json',
+    data: JSON.stringify({type: 'PC', isFind: true}),
     success: function(res) {
       if (res && res.data && res.data.url) {
         location.href = res.data.url

+ 4 - 0
src/web/templates/big-member/wx/page_customer.html

@@ -56,6 +56,10 @@
       $.post({
         url: '/jyapi/social/obtainShunt',
         contentType: 'application/json',
+        data: JSON.stringify({
+          type: 'WX',
+          isFind: true
+        }),
         success: function(res) {
           if (res && res.data && res.data.url) {
             location.href = res.data.url