activateOK.js 945 B

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