blsm-mp-wx 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/blsm-mp-wx/version.rb +1 -1
- data/lib/blsm-mp-wx.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d17128ebc3673cf4292fcc693d6b8b364f55261c
|
4
|
+
data.tar.gz: 4e09e565cf2a3c2f24e4f0a689af552a9877c4b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d88c3961fd1acbcaa0c51ceff3a1bb2bff490c51290dd3f349c97ecfe5d6950394692f2102fb1a671a35907b670a51ac7949576a53cf8277da96c246fe9f7cb
|
7
|
+
data.tar.gz: 8de960c7c7c16a6cd65e1c4b88ccec9058115ae257cfc1520c2b57c9a1cca2f71050d4ddf54738e8673b9f02d5c378b2aa7a9d7cb2859fefaca74b38d3f68710
|
data/Gemfile.lock
CHANGED
data/lib/blsm-mp-wx/version.rb
CHANGED
data/lib/blsm-mp-wx.rb
CHANGED
@@ -221,7 +221,7 @@ module BlsmMpWx
|
|
221
221
|
# new_order => content: {touser:'openid',order_id:''} 系统自动优先使用模板消息发送通知
|
222
222
|
# balance => content: {touser:'openid',clearing_id} 系统自动优先使用模板消息发送通知
|
223
223
|
# score_change => content: {touser:'',change:5,total:25,content:'邀请他人。。。。'}
|
224
|
-
def create_msg(app_id, openid, content, msg_name, template_msg=
|
224
|
+
def create_msg(app_id, openid, content, msg_name, template_msg=true)
|
225
225
|
app_id ||= self.APP_ID
|
226
226
|
return nil unless openid
|
227
227
|
return nil unless content[:touser]==openid
|
@@ -237,7 +237,7 @@ module BlsmMpWx
|
|
237
237
|
end
|
238
238
|
|
239
239
|
|
240
|
-
def create_msg!(app_id, openid, content, msg_name, template_msg=
|
240
|
+
def create_msg!(app_id, openid, content, msg_name, template_msg=true)
|
241
241
|
app_id ||= self.APP_ID
|
242
242
|
VdMpMsg.create!({
|
243
243
|
app_id: app_id,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blsm-mp-wx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saxer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|