Wechat sharing parameter setting is invalid

uses Wechat"s js-sdk, sharing link to add a parameter such as http://www.a.com/a.html?city=sh, but the entry page is http://www.a.com/a.html?city=bj,. The final share is not http://www.a.com/a.html?city=sh, but the latter link. The title and description of other settings are valid.
is there any solution to this problem?

Mar.03,2021

if you have already set the link parameter for sharing on the entry page, it is not possible to modify the link parameter again when city=sh (if possible, please tell the method, 3q~).
encountered a problem similar to yours before, but then I changed the jweixin.js file and used location.hash to share the same page with different products. can refer to

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31f84-34187.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31f84-34187.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?