Home  >  Q&A  >  body text

After the public account user information is called and stored in the database, can the image link before the user changes the information still be used?

After the user's avatar link saved with authorization is stored in the database, when the user changes the avatar, will the WeChat server change the new picture link?

瘦马。瘦马。2516 days ago1008

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-11-03 09:07:57

    Your question seems not to be described clearly. Do you want to ask: After the official account obtains the user information avatar, when the user changes the avatar, the address of the picture you saved has not changed. Is this what you mean? You can do a test regularly, and when the user accesses your application again, obtain it again, compare it, and then process it.

    reply
    0
  • 瘦马。

    Haha, I tried it, and the original link still works after changing the avatar, but the avatar is still the same.

    瘦马。 · 2017-11-03 10:07:57
  • Cancelreply