activateOK.js 835 B

12345678910111213141516171819202122232425262728293031323334
  1. import common from '../../utils/util';
  2. import server from '../../utils/main';
  3. const app = getApp();
  4. Page({
  5. data: {
  6. },
  7. onLoad: function (options) {
  8. this.setData({
  9. Containnerheight: common.getSystemHeight(),
  10. });
  11. this.updateData(options);
  12. },
  13. updateData: function (param) {
  14. var that = this;
  15. server.getData('UpdateWXUsersAll500?ProductID=' + param.ProductID
  16. + "&ProductUserID=" + param.ProductUserID
  17. + "&CurrentProductID=" + param.CurrentProductID
  18. + "&CurrentUserID=" + param.CurrentUserID, function (data) {
  19. if (data) {
  20. }
  21. });
  22. },
  23. onShareAppMessage: function () {
  24. return {
  25. title: app.globalData.ShareTitle,
  26. path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
  27. imageUrl: app.globalData.ShareImage,
  28. }
  29. },
  30. })