change: appid动态

huazhiyu_new
Seep 1 year ago
parent e4f3791d18
commit f94abe9f36
  1. 2
      common/api.js
  2. 11
      pages/home/home.vue
  3. 14
      pages/login/login.vue
  4. 2
      pages/my/richText.vue
  5. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  6. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  7. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  8. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/ClassifyData/ClassifyData.js.map
  9. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/DialogBox/DialogBox.js.map
  10. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/GoodsAttr/GoodsAttr.js.map
  11. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/GoodsCoupon/GoodsCoupon.js.map
  12. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/GoodsServe/GoodsServe.js.map
  13. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/TabBar/TabBar.js.map
  14. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/mescroll-uni/components/mescroll-empty.js.map
  15. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/mescroll-uni/components/mescroll-top.js.map
  16. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/mescroll-uni/mescroll-body.js.map
  17. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/mescroll-uni/mescroll-uni.js.map
  18. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/navbar.js.map
  19. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/AccountSecurity/AccountSecurity.js.map
  20. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/AddressEdit/AddressEdit.js.map
  21. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/AddressList/AddressList.js.map
  22. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/ChangePassword/ChangePassword.js.map
  23. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/ConfirmOrder/ConfirmOrder.js.map
  24. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/GoodsDetails/GoodsDetails.js.map
  25. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/GoodsEvaluateList/GoodsEvaluateList.js.map
  26. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/GoodsOn/GoodsOn.js.map
  27. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/Information/Information.js.map
  28. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/MyCoupon/MyCoupon.js.map
  29. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/MyOrderList/MyOrderList.js.map
  30. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/OrderDetails/OrderDetails.js.map
  31. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/SearchGoodsList/SearchGoodsList.js.map
  32. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/Setting/Setting.js.map
  33. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/bind/bind.js.map
  34. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/cart/cart.js.map
  35. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/fenxiao/fans.js.map
  36. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/fenxiao/fansOrder.js.map
  37. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/fenxiao/fenxiao.js.map
  38. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/fenxiao/yongjin.js.map
  39. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/home.js.map
  40. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/sign.js.map
  41. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
  42. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/incomeExpenditureDetail.js.map
  43. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/invite.js.map
  44. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/my.js.map
  45. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/mySign.js.map
  46. 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/recharge.js.map
  47. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/richText.js.map
  48. 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/singleIncome.js.map
  49. 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/withdraw.js.map
  50. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/qianggou/productDetails.js.map
  51. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/qianggou/productList.js.map
  52. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/qianggou/qianggou.js.map
  53. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/register/findPsw.js.map
  54. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/register/register.js.map
  55. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/search/search.js.map
  56. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/shoukuan/shoukuan.js.map
  57. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/shouyi/shouyi.js.map
  58. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/warehouse/buy.js.map
  59. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/warehouse/pay.js.map
  60. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/warehouse/sell.js.map
  61. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/warehouse/weituo.js.map
  62. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/data-picker/components/u-picker-plus/u-picker-plus.js.map
  63. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/lime-signature/components/l-signature/l-signature.js.map
  64. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.js.map
  65. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.js.map
  66. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-cell-group/u-cell-group.js.map
  67. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-cell/u-cell.js.map
  68. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.js.map
  69. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.js.map
  70. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-column-notice/u-column-notice.js.map
  71. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-form-item/u-form-item.js.map
  72. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-gap/u-gap.js.map
  73. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js.map
  74. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-input/u-input.js.map
  75. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-line/u-line.js.map
  76. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map
  77. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-modal/u-modal.js.map
  78. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.js.map
  79. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-overlay/u-overlay.js.map
  80. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-parse/node/node.js.map
  81. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-parse/u-parse.js.map
  82. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-popup/u-popup.js.map
  83. 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-radio-group/u-radio-group.js.map
  84. 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-radio/u-radio.js.map
  85. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-row-notice/u-row-notice.js.map
  86. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map
  87. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-status-bar/u-status-bar.js.map
  88. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-sticky/u-sticky.js.map
  89. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.js.map
  90. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-swiper/u-swiper.js.map
  91. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-switch/u-switch.js.map
  92. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.js.map
  93. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-toast/u-toast.js.map
  94. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-toolbar/u-toolbar.js.map
  95. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-transition/u-transition.js.map
  96. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-upload/u-upload.js.map
  97. 2
      unpackage/dist/dev/mp-weixin/app.json
  98. 10
      unpackage/dist/dev/mp-weixin/common/main.js
  99. 4
      unpackage/dist/dev/mp-weixin/common/runtime.js
  100. 27558
      unpackage/dist/dev/mp-weixin/common/vendor.js
  101. Some files were not shown because too many files have changed in this diff Show More

@ -89,3 +89,5 @@ export const withdraw = (params, config = {custom: { auth: true }}) => http.post
//充值
export const getWithdrawList = (params, config = {custom: { auth: true }}) => http.post('/api/user/withdrawList', params, config);
export const getAppId = (params, config = {custom: { auth: false }}) => http.get('/api/common/getAppidByDomain', {}, config);

@ -90,6 +90,7 @@
</template>
<script>
import {getAppId} from '@/common/api.js'
import navbar from '@/components/navbar.vue'
import TabBar from '../../components/TabBar/TabBar.vue';
import ClassifyData from '../../components/ClassifyData/ClassifyData.vue';
@ -141,7 +142,13 @@ export default {
})
// #endif
},
onLoad() {
async onLoad() {
const res = await getAppId({});
if(res.code === 1){
uni.setStorageSync('hy-appid', res.data.wx_appid||'wx15043fd052209ad4')
}else{
uni.setStorageSync('hy-appid', 'wx15043fd052209ad4')
}
this.H5Login()
},
onPageScroll(e){
@ -221,7 +228,7 @@ export default {
let code =this.getQueryString('code');
console.log(code,"lldd");
let appid="wx15043fd052209ad4"
let appid=uni.getStorageSync('hy-appid')
let redirect_uri = encodeURIComponent(pageUrl);
// let redirect_uri = pageUrl;

@ -49,8 +49,8 @@
</template>
<script>
import {loginApi} from '@/common/api.js'
import {setToken,setUserInfo,setAgentInfo ,getToken,getUserInfo} from '@/common/auth.js'
import {loginApi, getAppId} from '@/common/api.js'
import {setToken,setUserInfo,setAgentInfo ,getToken,getUserInfo,} from '@/common/auth.js'
export default {
data() {
@ -67,7 +67,13 @@ export default {
checked:[],
};
},
onShow() {
async onShow() {
const res = await getAppId({});
if(res.code === 1){
uni.setStorageSync('hy-appid', res.data.wx_appid||'wx15043fd052209ad4')
}else{
uni.setStorageSync('hy-appid', 'wx15043fd052209ad4')
}
this.H5Login()
},
methods:{
@ -75,7 +81,7 @@ export default {
let pageUrl = window.location.href;
let code =this.getQueryString('code');
let appid="wx15043fd052209ad4"
let appid= uni.getStorageSync('hy-appid')
let redirect_uri = encodeURIComponent(pageUrl);
// let redirect_uri = pageUrl;

@ -25,7 +25,7 @@
getText(){
privacyPolicy({id:this.id}).then(res=>{
console.log(res,"-000")
console.log(res.data.content,"-000")
this.title = res.data.title
this.content = res.data.content
})

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -6,6 +6,8 @@
"pages/register/register",
"pages/my/richText",
"pages/register/findPsw",
"pages/my/recharge",
"pages/my/withdraw",
"pages/my/incomeExpenditureDetail",
"pages/my/mySign",
"pages/AddressList/AddressList",

@ -31,9 +31,13 @@ _vue.default.mixin(_path.default);
// 弹出框
var DialogBox = function DialogBox() {
__webpack_require__.e(/*! require.ensure | components/DialogBox/DialogBox */ "components/DialogBox/DialogBox").then((function () {
return resolve(__webpack_require__(/*! ./components/DialogBox/DialogBox */ 523));
return resolve(__webpack_require__(/*! ./components/DialogBox/DialogBox */ 547));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
// import Vconsole from 'vconsole'
// let vConsole = new Vconsole()
// Vue.use(vConsole)
_vue.default.use(_vueClipboard.default);
_vue.default.config.productionTip = false;
@ -42,12 +46,12 @@ _vue.default.component('DialogBox', DialogBox);
//mescroll
var MescrollBody = function MescrollBody() {
Promise.all(/*! require.ensure | components/mescroll-uni/mescroll-body */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/mescroll-uni/mescroll-body")]).then((function () {
return resolve(__webpack_require__(/*! @/components/mescroll-uni/mescroll-body.vue */ 530));
return resolve(__webpack_require__(/*! @/components/mescroll-uni/mescroll-body.vue */ 554));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var MescrollUni = function MescrollUni() {
Promise.all(/*! require.ensure | components/mescroll-uni/mescroll-uni */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/mescroll-uni/mescroll-uni")]).then((function () {
return resolve(__webpack_require__(/*! @/components/mescroll-uni/mescroll-uni.vue */ 542));
return resolve(__webpack_require__(/*! @/components/mescroll-uni/mescroll-uni.vue */ 566));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
_vue.default.component('mescroll-body', MescrollBody);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save