blsm-vd-core 0.4.1 → 0.4.2
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.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/lib/blsm-vd-core/version.rb +1 -1
- data/lib/blsm-vd-core.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTEzOTNiYjZiOGQxYzQ3NzMyNGRlZjczYjNkYTdmMWUwZmEzMGI1ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDRjYmY0MDRhMzBmOTRjMDMxYzQ2YzNlYmMzZWE0NzE3ZjEwN2YyOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTZhMjI4YzBkNTNmYzkxZTU3M2E0YTU2ZDVlYzMyNGJiMDExMTVjNTQxMjZl
|
10
|
+
OWU5NzVlZjJhMmQ0ZDAzOTA1ZmI5NTU0Y2ZmODk0ZGZhNjgzZGI0ZjIxYzE2
|
11
|
+
NjYxYzYwMTUxYjhmODMxOWFlYTMwNDY2NDQ3YjA0OTdjZTM4NTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2Q2MDAwY2E5OTJjNmFlODQ2MGU5NDc1ZGM5YjNiODc1Yjk3ZmNlYzM1Y2Ez
|
14
|
+
OGUwNTM4ZDRmYTg5MzZiOTkxOWY5ZjFlZDIyNGFjOTE2MmJmYjNhMDllYzQx
|
15
|
+
YTlkNjdiNjYxYjc0ZTRjZDZiZGIxMWRiMDUzYmQ5ZjY2OWRmYzY=
|
data/Gemfile.lock
CHANGED
data/lib/blsm-vd-core/version.rb
CHANGED
data/lib/blsm-vd-core.rb
CHANGED
@@ -81,7 +81,7 @@ module BlsmVdCore
|
|
81
81
|
end
|
82
82
|
|
83
83
|
#发送物流返款通知
|
84
|
-
def send_cash_back_notify(order_id)
|
84
|
+
def send_cash_back_notify(order_id,wx_app_id=nil)
|
85
85
|
order = Order.where(id: order_id).first
|
86
86
|
seller = order.application.user if order && order.application
|
87
87
|
#数据校验
|
@@ -90,7 +90,7 @@ module BlsmVdCore
|
|
90
90
|
|
91
91
|
#物流返款通知
|
92
92
|
seller_notify = {touser: seller.openid, order_id: Order.encrypt(Order.encrypted_id_key, order.id.to_s), content: "【物流返款通知】"}
|
93
|
-
BlsmMpWx.create_msg(
|
93
|
+
BlsmMpWx.create_msg(wx_app_id, seller.openid, seller_notify, 'order')
|
94
94
|
|
95
95
|
ERROR_CODES[200]
|
96
96
|
end
|