blsm-mp-wx 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d532da95333cb9b16e81c75aa30ded8535a6e4e5
4
- data.tar.gz: 3122e86cdde819a1d7de049046ad5e1ab5b287ce
3
+ metadata.gz: 4e77b2dffef393a886b3c0a32dd5155eb4420836
4
+ data.tar.gz: 625ed970fa8a13943b4bb496a226ba516388d984
5
5
  SHA512:
6
- metadata.gz: ea4c084a5cf429a75916462f6d91d6550f90bb15bebb12148453bdc07adba244f2101a0bf1697169afb38f451d70248648a5ca293c3c4b3daa76a9d5586936ba
7
- data.tar.gz: 2c515815789144da68cb6685b99a20d4e1a80136dbe3917ef68fe05108e961312db169a75e48bca2d5b2e3ec761812ff202afbf9d67e7cdbf9545caf47ff7941
6
+ metadata.gz: bfe980a650d0b5904453cd74e430fd19bb2ededecf9bb5d8eefbfd065a70516a7d48ff6cbf0096364a90d89de14e18b39d4721b0da81d80364f0a86718c3d8a0
7
+ data.tar.gz: 57e06e82f948f026bc703fb80722d5fc8a8ca6f355eac3c89763a225d39323e4c9f4b895bf1f84f3fd288eba19f3e920e8e16c6c496a63dc000d994162d85054
@@ -1,3 +1,3 @@
1
1
  module BlsmMpWx
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
data/lib/blsm-mp-wx.rb CHANGED
@@ -218,7 +218,7 @@ module BlsmMpWx
218
218
  # new_order => content: {touser:'openid',order_id:''} 系统自动优先使用模板消息发送通知
219
219
  # balance => content: {touser:'openid',clearing_id} 系统自动优先使用模板消息发送通知
220
220
  # score_change => content: {touser:'',change:5,total:25,content:'邀请他人。。。。'}
221
- def create_msg(app_id=nil, openid, content, msg_name, template_msg=false)
221
+ def create_msg(app_id, openid, content, msg_name, template_msg=false)
222
222
  app_id ||= self.APP_ID
223
223
  return nil unless openid
224
224
  return nil unless content[:touser]==openid
@@ -234,7 +234,7 @@ module BlsmMpWx
234
234
  end
235
235
 
236
236
 
237
- def create_msg!(app_id=nil, openid, content, msg_name, template_msg=false)
237
+ def create_msg!(app_id, openid, content, msg_name, template_msg=false)
238
238
  app_id ||= self.APP_ID
239
239
  VdMpMsg.create!({
240
240
  app_id: app_id,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blsm-mp-wx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - saxer