Skip to content

Commit d413560

Browse files
committed
修改推送API调用接口
1 parent 3b417cb commit d413560

File tree

4 files changed

+420
-418
lines changed

4 files changed

+420
-418
lines changed

pages/index/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -644,8 +644,8 @@ Page({
644644
},
645645

646646
//设置首页咨询按钮点击事件:当用户点击咨询按钮时,自动推送一条消息给管理员
647-
notifyAdmin: function() {
648-
console.log('[*] 用户咨询,开始通知管理员。');
647+
notifyAdmin: function () {
648+
console.log(' 用户咨询,开始通知管理员。');
649649
wx.request({
650650
url: 'https://cloud.safedog.cc/vpush/functions/PUSH_API',
651651
method: 'POST',
@@ -655,8 +655,8 @@ Page({
655655
"X-Parse-Application-Id": "guren_cloud_vpush"
656656
},
657657
data: {
658-
"id": "KgLSnOmGdS",
659-
"secret": "448c2-1001c-ba07c-13bed",
658+
"id": "jmoQ2kyo5D",
659+
"secret": "f1faf-496d1-de9c8-1438b",
660660
"path": "pages/index/index",
661661
// 这里填写管理员的openId
662662
"openId": "oRM4C0fPs_4PiCL9WStRkHj1kGek",

pages/index/index.wxss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ swiper .swiper-desc {
139139
/* margin-top: 8px; */
140140
padding: 24rpx;
141141
background: #2f89fc;
142+
border-radius:0 0 50rpx 50rpx;
142143
}
143144

144145
.search-pancel image {
@@ -299,6 +300,8 @@ height: 58rpx; */
299300
margin-bottom: -4rpx;
300301
background: /*linear-gradient(140deg,#ffd900,#FFD01D)*/#2f89fc;
301302
box-sizing: border-box;
303+
border-radius:20rpx;
304+
302305
}
303306

304307
.cms-tit-txt {

0 commit comments

Comments
 (0)