Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Update and rename config/index.cjs to 配置/index.cjs #319

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
28 changes: 14 additions & 14 deletions config/index.cjs → 配置/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,43 @@
const USER_CONFIG = {

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

// 使用微信测试号:公众号APP_SECRET
APP_SECRET: '',
APP_SECRET: '9013fdf8ee59ecf45052cdbbe51dbda7',

PROVINCE: '广东',
CITY: '惠州',
PROVINCE: '贵州',
CITY: '贵阳',

USERS: [
{
// 想要发送的人的名字
name: '宝贝',
name: '沙子哥',
// 使用微信测试号:扫码关注你的微信测试号后生成的一段字符串,在测试号后台能看到
id: '',
id: 'o0NOO6Qrky-LcnmxBJxluM-Z52k8 ',
// 使用微信测试号:你想对他发送的模板消息的模板ID
useTemplateId: '',
useTemplateId: 'hBP4eV6ggtSPhrgeHNrAQkt5pa9QyQOn32Jw9-3KfZo ',
// 新历生日, 仅用作获取星座运势, 格式必须为MM-DD
horoscopeDate: '12-27',
horoscopeDate: '11-19',
festivals: [
// 注意:此条配置日期为阴历日期,因为`type`中 “生日” 之前有 * 符号
{
type: '*生日', name: '宝贝', year: '1996', date: '09-09',
type: '*生日', name: '沙子哥', year: '2001', date: '08-03',
},
// 注意:此条配置日期为阳历日期,因为`type`中 “生日” 之前没有 * 符号
{
type: '生日', name: '李四', year: '1996', date: '09-31',
type: '生日', name: '沙子哥', year: '2001', date: '08-03',
},
{
type: '节日', name: '相识纪念日', year: '2020', date: '09-03',
type: '节日', name: '相识纪念日', year: '2023', date: '02-16',
},
],
// 我们在一起已经有xxxx天了的配置
customizedDateList: [
// 在一起的日子
{ keyword: 'love_day', date: '2022-09-08' },
{ keyword: 'love_day', date: '' },
// 结婚纪念日
{ keyword: 'marry_day', date: '2022-09-09' },
{ keyword: 'marry_day', date: '9999-09-09' },
],
},
],
Expand All @@ -57,7 +57,7 @@ const USER_CONFIG = {
{
name: '自己',
// 使用微信测试号:自己的微信id,扫码关注你的微信测试号后生成的一段字符串,在测试号后台能看到
id: '',
id: 'o0NOO6Qrky-LcnmxBJxluM-Z52k8 ',
}
],

Expand Down