details_More.js 505 B

12345678910111213141516171819202122232425262728293031323334
  1. const app = getApp();
  2. Page({
  3. data: {
  4. },
  5. onLoad: function (options) {
  6. var that=this;
  7. // console.log(options.uid)
  8. // 个人信息
  9. let information_url = 'circle/frienddetails/details';
  10. let information_data = {
  11. uid: options.uid,
  12. };
  13. app.postRequest(information_url, information_data, function (res) {
  14. if (res.code == 201) {
  15. console.log(res.data);
  16. that.setData({
  17. information: res.data
  18. })
  19. }
  20. })
  21. },
  22. })