@yoooloo42/beat 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoooloo42/beat",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -48,7 +48,7 @@ function sms(cellphone, shortMessageCode, clientBox) {
48
48
 
49
49
  client.request(clientBox.action, params, requestOption).then(
50
50
  result => {
51
- console.log('测试 000', result)
51
+ console.log('发送短信成功:', result)
52
52
  resolve({code: 0, message: '发送短信成功',
53
53
  result
54
54
  })
@@ -60,6 +60,7 @@ function sms(cellphone, shortMessageCode, clientBox) {
60
60
  */
61
61
  },
62
62
  err => {
63
+ console.log('发送短信失败:', err)
63
64
  resolve({code: 1, message: '发送短信失败',
64
65
  err
65
66
  })