Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.cjs #355

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions config/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,35 @@
const USER_CONFIG = {

// 使用微信测试号:公众号APP_ID
APP_ID: '',
APP_ID: 'wxa2265cebcf24d579',

// 使用微信测试号:公众号APP_SECRET
APP_SECRET: '',
APP_SECRET: '5bdb0a267cdc30fec1d372e567ab52ea',

PROVINCE: '广东',
CITY: '惠州',
PROVINCE: '山东',
CITY: '淄博',

USERS: [
{
// 想要发送的人的名字
name: '宝贝',
name: '李晗',
// 使用微信测试号:扫码关注你的微信测试号后生成的一段字符串,在测试号后台能看到
id: '',
id: 'oWynO6ferkfGZ8UA-Ksut5CnSk_Y',
// 使用微信测试号:你想对他发送的模板消息的模板ID
useTemplateId: '',
useTemplateId: 'phCOrYp0NJRJSStrb0SrzzfvE4cTVB6KeH0CABcFFyQ',
// 新历生日, 仅用作获取星座运势, 格式必须为MM-DD
horoscopeDate: '12-27',
horoscopeDate: '0107',
festivals: [
// 注意:此条配置日期为阴历日期,因为`type`中 “生日” 之前有 * 符号
{
type: '*生日', name: '宝贝', year: '1996', date: '09-09',
},
// 注意:此条配置日期为阳历日期,因为`type`中 “生日” 之前没有 * 符号
{
type: '生日', name: '李四', year: '1996', date: '09-31',
type: '生日', name: '李四', year: '1998', date: '01-07',
},
{
type: '节日', name: '相识纪念日', year: '2020', date: '09-03',
type: '节日', name: '相识纪念日', year: '2020', date: '10-01',
},
],
// 我们在一起已经有xxxx天了的配置
Expand All @@ -51,13 +51,13 @@ const USER_CONFIG = {


// 【推送完成提醒】模板id, 用来看自己有没有发送成功的那个模板
CALLBACK_TEMPLATE_ID: '',
CALLBACK_TEMPLATE_ID: 'phCOrYp0NJRJSStrb0SrzzfvE4cTVB6KeH0CABcFFyQ',

CALLBACK_USERS: [
{
name: '自己',
// 使用微信测试号:自己的微信id,扫码关注你的微信测试号后生成的一段字符串,在测试号后台能看到
id: '',
id: 'oWynO6YKXYiMDyw-piidDRSfhfow',
}
],

Expand Down