Commit Graph

54 Commits

Author SHA1 Message Date
luk
7b200e283a if smtp or sms config is empty, return immediately 2024-08-03 14:22:03 +08:00
Luk
5fd32c86b3 improve gitignore and seafile-ignore 2024-04-24 14:18:13 +08:00
Luk
15b87bbd7c u 2024-02-05 11:37:07 +08:00
Luk
5104ce87ee console.log({_at, ...}) 2024-02-05 09:52:18 +08:00
Luk
159f90f44a add some prompts when sendMail returns 2024-01-29 20:43:46 +08:00
Luk
2a4f962e1c updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh 2024-01-28 12:18:03 +08:00
Luk
31febc9a1a u 2024-01-14 12:25:51 +08:00
e5c4ffc89f u 2024-01-03 12:40:41 +08:00
2f0c78c842 update seafile-ignore.txt 2023-09-12 14:20:51 +08:00
90aff88301 rename SMS_* to MSG_* 2023-07-26 21:33:55 +08:00
e03784482f update sendMail to return _state 2023-07-26 10:34:39 +08:00
f58f12ff43 重构,接受 appid/signName/msgTemplate/config 参数,根据 config.vendor 分流 2023-06-17 18:47:35 +08:00
953eba3fe2 fix typo of 'tentent' to 'tencent' 2023-03-20 07:52:53 +08:00
af116ef4d5 在运行时检测 my.envar || wo.envar,防止被提前引用导致 my.envar 为空 2023-03-18 10:02:47 +08:00
def3aa1b3a update .gitignore to ignore *.gitignore.* instead of envar-*.gitignore.js 2023-03-11 08:27:26 +08:00
d47d879929 'add seafile-ignore.txt to every git repo' 2023-01-12 20:10:10 +08:00
3ab2b1a065 update to standard .gitignore 2022-12-10 19:12:33 +08:00
5e8565b7c8 update [.gitignore] to ignore /unpackage/* except for !/unpackage/res/ 2022-10-06 20:06:25 +08:00
5299acddaf u 2022-10-06 09:27:59 +08:00
274f6106f8 [.prettierrc.js] update jsxBracketSameLine:false to bracketSameLine:true so that HTML closing bracket not in a seperate line; [package.json] delete standardx 2022-10-05 13:10:17 +08:00
e073b308e4 use standard [.gitignore] file 2022-08-20 10:25:14 +08:00
cab453ad7e rename libraries 'basend-*' to 'wo-base-*', 'corend-*' to 'wo-core-*', 'usend-*' to 'wo-user-*' 2022-08-17 08:59:45 +08:00
5c59994fa9 format 2022-08-09 16:55:58 +08:00
e2f9feed1f u 2022-08-06 11:53:40 +08:00
2854f1dc32 rename all base.xxx to basend-xxx 2022-06-04 10:51:23 +08:00
0a3df0ef33 u 2022-05-03 13:50:09 +08:00
b9581b14d8 rename Config*.js to envar-base-*.js 2022-04-25 14:14:55 +08:00
8898fcc0b7 unicloud 不支持 ?. 写法,换掉。 2022-04-13 20:06:58 +08:00
ba0e0a0271 u 2022-04-13 10:37:03 +08:00
1feda80633 sendSms 的 vendor 参数使用默认值 envar.SMS.vendor 2022-04-03 19:25:16 +08:00
81b563e4c4 rename envi to envar 2022-04-03 16:19:26 +08:00
04608be3ff 实现腾讯云短信,测试成功 2022-03-28 12:57:11 +08:00
4b8fe41a4d u 2022-03-27 23:19:50 +08:00
dbd8d2438b 实现:腾讯云的短信发送。尚未测试。 2022-03-27 16:37:36 +08:00
d2e148d6e9 u 2022-03-25 21:01:28 +08:00
1318c8b126 u 2022-03-25 20:04:11 +08:00
d35398d7c7 u 2022-03-23 09:22:44 +08:00
866bba4b87 u 2022-03-22 16:22:48 +08:00
c8c702ebb5 u 2022-03-22 16:17:28 +08:00
dba319adde add sendSmsUniCloud 2022-03-22 15:50:25 +08:00
a7d45c3473 添加 init(envi) 方法来初始化;把phone参数合并到第二个{...}参数里 2022-03-09 15:54:33 +08:00
03b896d0fa 用 new Promise(http.get(...)) 来包装,测试通过 2021-12-11 11:46:41 +08:00
68e4041388 catch error for dxton 2021-12-11 09:52:33 +08:00
2be5befb79 replace deprecated 'request' with 'http.get' so that no more external dependencies 2021-12-11 09:43:41 +08:00
1146a72d25 修改 sendSms: 返回状态变量 _state=‘SMS_SENT_SUCCESS' 而不是 sendState='DONE' 2021-10-15 09:24:57 +08:00
196c2e6219 批量重命名 npm/* 使用标准前缀 base|core|user 2021-09-16 21:52:54 +08:00
0bf41c0193 u 2021-07-06 15:14:11 +08:00
b6826662a0 u 2021-06-19 22:02:23 +08:00
884d4bd51a reorg so.* to sol.* 2021-05-09 15:52:12 +08:00
40dee61094 add .gitignore 2021-01-26 19:02:51 +08:00