activate.js 711 B

1234567891011121314151617181920212223242526272829
  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. console.log(options);
  9. this.updateData(options);
  10. this.setData({
  11. Height: common.getSystemHeight(),
  12. });
  13. },
  14. updateData: function (param) {
  15. var that = this;
  16. server.getData('UpdateWXUsersAll?ProductID=' + param.ProductID
  17. + "&ProductUserID=" + param.ProductUserID
  18. + "&CurrentProductID=" + param.CurrentProductID
  19. + "&CurrentUserID=" + param.CurrentUserID
  20. + "&ProductBuyInfoID=" + param.ProductBuyInfoID
  21. + "&BuyType=" + param.BuyType, function (data) {
  22. if (data) {
  23. }
  24. });
  25. },
  26. })