|
|
@@ -20,6 +20,7 @@ const lk = new ToolKit(`爱购8.8`, `OfpayHelper`);
|
|
|
|
|
|
|
|
|
const OfPayConstKey = {
|
|
|
+ loginParams: 'lkOfPayLoginParams',
|
|
|
phone: 'lkOfPayPhone',
|
|
|
uuid: 'lkOfPayUUID',
|
|
|
token: 'lkOfPayAuthorization',
|
|
|
@@ -267,6 +268,9 @@ function updateMarketInfoByUrlParams(){
|
|
|
function handleIndexLogin(){
|
|
|
let urlParams = lk.parseQueryStr($request.url);
|
|
|
let loginParams = urlParams.loginParams;
|
|
|
+ if(loginParams){
|
|
|
+ lk.setVal(OfPayConstKey.loginParams, loginParams);
|
|
|
+ }
|
|
|
let headers = $response.headers;
|
|
|
let newAuthorization = null;
|
|
|
if(headers['Set-Cookie']){
|