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
dc99c7bd
Commit
dc99c7bd
authored
Jul 11, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e9cb7dd6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
AdapayController.cs
Mall.WebApi/Controllers/Adapay/AdapayController.cs
+1
-1
MessageController.cs
Mall.WebApi/Controllers/Adapay/MessageController.cs
+2
-3
No files found.
Mall.WebApi/Controllers/Adapay/AdapayController.cs
View file @
dc99c7bd
...
...
@@ -205,7 +205,7 @@ namespace Mall.WebApi.Controllers.Adapay
{
"currency"
,
"cny"
},
{
"time_expire"
,
DateTime
.
Now
.
AddMinutes
(
30
).
ToString
(
"yyyyMMddHHmmss"
)},
{
"description"
,
offerModel
.
MallBaseId
+
"|"
+
offerModel
.
OrderId
},
{
"notify_url"
,
"https://mallapi.
oytour.com
/api/AdapayCallBack/AdapayCallBackEvent"
}
{
"notify_url"
,
"https://mallapi.
jjsw.vip
/api/AdapayCallBack/AdapayCallBackEvent"
}
};
Dictionary
<
string
,
object
>
expendDict
=
new
Dictionary
<
string
,
object
>();
if
(
pay_channel
==
"wx_pub"
||
pay_channel
==
"wx_lite"
)
...
...
Mall.WebApi/Controllers/Adapay/MessageController.cs
View file @
dc99c7bd
...
...
@@ -137,14 +137,13 @@ namespace Mall.WebApi.Controllers.Adapay
private
void
SendMessage
(
string
toUser
,
List
<
string
>
targerList
)
{
int
MallBaseId
=
17
;
// toUser = "oyiQo5Dgzt7X3WZudvx3LaZmf2h0";
// targerList.Add("https://qr.alipay.com/bax00835y0gx4mzmeycd0020");
List
<
string
>
pushList
=
new
List
<
string
>();
string
payUrl
=
"http://m.jjsw.vip"
;
foreach
(
var
item
in
targerList
)
{
string
tempItem
=
item
;
tempItem
=
System
.
Web
.
HttpUtility
.
UrlEncode
(
item
);
string
postUrl
=
string
.
Format
(
"http://jj.kookaku.com
/pages/pay/transition?aliuri={0}"
,
tempItem
);
string
postUrl
=
string
.
Format
(
payUrl
+
"
/pages/pay/transition?aliuri={0}"
,
tempItem
);
pushList
.
Add
(
postUrl
);
}
var
miniProgram
=
miniProgramModule
.
GetMiniProgramModule
(
new
Model
.
Extend
.
User
.
RB_MiniProgram_Extend
()
{
MallBaseId
=
MallBaseId
});
...
...
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