Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
e6c5e0b2
Commit
e6c5e0b2
authored
Sep 25, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
62cf4f6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
ProductModule.cs
Mall.Module.Product/ProductModule.cs
+5
-0
UserModule.cs
Mall.Module.User/UserModule.cs
+2
-2
No files found.
Mall.Module.Product/ProductModule.cs
View file @
e6c5e0b2
...
...
@@ -1401,6 +1401,11 @@ namespace Mall.Module.Product
{
var
appletWeChatModel
=
programRepository
.
GetEntity
(
mallBaseId
);
string
token
=
CacheManager
.
AppletWeChat
.
WeiXinReidsCache
.
Get
(
appletWeChatModel
.
MiniAppId
);
int
IsNormalServer
=
Convert
.
ToInt32
(
Config
.
IsNormalServer
);
if
(
IsNormalServer
!=
1
)
{
token
=
"37_0-lYjcCk7K4srJ_SWIumrzRMY4s2UdttdugOEOLBoeQEOUEXga2hutyJrM7PC9QZkK9aXu7g4nE62J7YWfA2T6CKbq1_qPq0njfMvmk2_OZndOv-Rr1BIRhkqa6gFq71zo2Dr73T5tFe5QQ9LWQhAFAEPJ"
;
}
if
(
string
.
IsNullOrEmpty
(
token
))
{
token
=
Common
.
Pay
.
WeChatPat
.
TokenHelper
.
GetLXYToken
(
token
,
appletWeChatModel
.
MiniAppId
,
appletWeChatModel
.
MiniAppSecret
);
...
...
Mall.Module.User/UserModule.cs
View file @
e6c5e0b2
...
...
@@ -5713,7 +5713,7 @@ namespace Mall.Module.User
int
IsNormalServer
=
Convert
.
ToInt32
(
new
ConfigurationBuilder
().
Add
(
new
JsonConfigurationSource
{
Path
=
"appsettings.json"
}).
Build
().
GetSection
(
"IsNormalServer"
).
Value
);
if
(
IsNormalServer
!=
1
)
{
token
=
"37_
Wqdr6PiecbnyvQKenIyOGyPGrXBZ7UOuRv0TaRwbscyTefDvUoi68KUVKfU4xrY2z6jK24swmQ1vsnR1EQFRapB-Do6L2eO8i-geeoGtRJa0hFIVHSSJaAK3Uk_lGyDcJf6ATCPJebtgjrz8WBQiAGAAFU
"
;
token
=
"37_
0-lYjcCk7K4srJ_SWIumrzRMY4s2UdttdugOEOLBoeQEOUEXga2hutyJrM7PC9QZkK9aXu7g4nE62J7YWfA2T6CKbq1_qPq0njfMvmk2_OZndOv-Rr1BIRhkqa6gFq71zo2Dr73T5tFe5QQ9LWQhAFAEPJ
"
;
}
if
(
string
.
IsNullOrEmpty
(
token
))
{
...
...
@@ -5797,7 +5797,7 @@ namespace Mall.Module.User
int
IsNormalServer
=
Convert
.
ToInt32
(
new
ConfigurationBuilder
().
Add
(
new
JsonConfigurationSource
{
Path
=
"appsettings.json"
}).
Build
().
GetSection
(
"IsNormalServer"
).
Value
);
if
(
IsNormalServer
!=
1
)
{
token
=
"37_
Wqdr6PiecbnyvQKenIyOGyPGrXBZ7UOuRv0TaRwbscyTefDvUoi68KUVKfU4xrY2z6jK24swmQ1vsnR1EQFRapB-Do6L2eO8i-geeoGtRJa0hFIVHSSJaAK3Uk_lGyDcJf6ATCPJebtgjrz8WBQiAGAAFU
"
;
token
=
"37_
0-lYjcCk7K4srJ_SWIumrzRMY4s2UdttdugOEOLBoeQEOUEXga2hutyJrM7PC9QZkK9aXu7g4nE62J7YWfA2T6CKbq1_qPq0njfMvmk2_OZndOv-Rr1BIRhkqa6gFq71zo2Dr73T5tFe5QQ9LWQhAFAEPJ
"
;
}
if
(
string
.
IsNullOrEmpty
(
token
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment