ampedxx-wechat-protocal 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/protocals/wechat.proto +5 -0
- data/lib/wechat/protocal/version.rb +1 -1
- data/lib/wechat_pb.rb +5 -0
- 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: 25663be51865cbe5c30c341feaac98c9f213fba0
|
4
|
+
data.tar.gz: fb0f449af734279c314a607905b17ce34b9481ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10897f074d1e7596fc140efd250db27ba46b5e4f0ef3bd6767976d5663372286b4f5fb84a88beb46e2b21d4dd3ea40ff88fae4394e940c2dd423812c37db6523
|
7
|
+
data.tar.gz: 65b4309ca7ceb829379fc1da8ec74a71853189e095e37d8778845029efda0a9c4947df3fb8829c73281bcf8b80da15078f9df18815b0a645c77c1b26dbebbde5
|
data/.gitignore
CHANGED
data/lib/protocals/wechat.proto
CHANGED
@@ -82,6 +82,7 @@ message SendWechatMessageRequest {
|
|
82
82
|
Keyword remark = 7;
|
83
83
|
string token = 8;
|
84
84
|
string direct_url = 10;
|
85
|
+
string open_id = 11;
|
85
86
|
}
|
86
87
|
|
87
88
|
message SendWechatMessageReply {
|
@@ -98,6 +99,8 @@ message Keyword {
|
|
98
99
|
message WechatOauthRequest {
|
99
100
|
string uri = 1;
|
100
101
|
string origin = 2;
|
102
|
+
string appid = 3;
|
103
|
+
string secret_key = 4;
|
101
104
|
}
|
102
105
|
|
103
106
|
message WechatOauthReply {
|
@@ -106,6 +109,8 @@ message WechatOauthReply {
|
|
106
109
|
}
|
107
110
|
|
108
111
|
message WechatLoginRequest {
|
112
|
+
string appid = 1;
|
113
|
+
string secret_key = 2;
|
109
114
|
string code = 3;
|
110
115
|
}
|
111
116
|
|
data/lib/wechat_pb.rb
CHANGED
@@ -32,6 +32,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
32
|
optional :remark, :message, 7, "atyun.Keyword"
|
33
33
|
optional :token, :string, 8
|
34
34
|
optional :direct_url, :string, 10
|
35
|
+
optional :open_id, :string, 11
|
35
36
|
end
|
36
37
|
add_message "atyun.SendWechatMessageReply" do
|
37
38
|
optional :errcode, :string, 1
|
@@ -43,12 +44,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
43
44
|
add_message "atyun.WechatOauthRequest" do
|
44
45
|
optional :uri, :string, 1
|
45
46
|
optional :origin, :string, 2
|
47
|
+
optional :appid, :string, 3
|
48
|
+
optional :secret_key, :string, 4
|
46
49
|
end
|
47
50
|
add_message "atyun.WechatOauthReply" do
|
48
51
|
optional :sns_url, :string, 1
|
49
52
|
optional :status, :message, 2, "atyun.Status"
|
50
53
|
end
|
51
54
|
add_message "atyun.WechatLoginRequest" do
|
55
|
+
optional :appid, :string, 1
|
56
|
+
optional :secret_key, :string, 2
|
52
57
|
optional :code, :string, 3
|
53
58
|
end
|
54
59
|
add_message "atyun.WechatLoginReply" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ampedxx-wechat-protocal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icepoint0
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|