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 and rename config/index.cjs to 配置/index.cjs #309

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

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

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

PROVINCE: '广东',
CITY: '惠州',
PROVINCE: '浙江',
CITY: '宁波',

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