@@ -168,6 +168,10 @@ def upgrade_api(request): |
||
168 | 168 |
def getPhoneNumber(request): |
169 | 169 |
user_id = request.POST.get('user_id', '') |
170 | 170 |
|
171 |
+ # Just for compatible because of store session_key has changed |
|
172 |
+ if not user_id: |
|
173 |
+ return '' |
|
174 |
+ |
|
171 | 175 |
wxcfg = WECHAT.get('MINIAPP', {}) |
172 | 176 |
|
173 | 177 |
appid = wxcfg.get('appID') |