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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 550fa6b7bb6d140ac3d458710349dd00c7ff9f57
4
- data.tar.gz: 6c4d12311dd61c7e2be748d2d743b4caac702671
3
+ metadata.gz: 25663be51865cbe5c30c341feaac98c9f213fba0
4
+ data.tar.gz: fb0f449af734279c314a607905b17ce34b9481ba
5
5
  SHA512:
6
- metadata.gz: daa0e4390805e7df3b9c3a2ef31870407786538fb887dbc2ead17584d08f8d42d53226014de5b6f2b673feebf450d6a172c7ab042151cf2d5f1715752a7dc83f
7
- data.tar.gz: 9f84fe04b41ffbe61ab8d21ce6628fea0dcfa17e637cb04bae09112cc4b6d1b93c85ff26ed317a78aaaf63669998f4b6dd953355f1fe05b98e752bb201a039d4
6
+ metadata.gz: 10897f074d1e7596fc140efd250db27ba46b5e4f0ef3bd6767976d5663372286b4f5fb84a88beb46e2b21d4dd3ea40ff88fae4394e940c2dd423812c37db6523
7
+ data.tar.gz: 65b4309ca7ceb829379fc1da8ec74a71853189e095e37d8778845029efda0a9c4947df3fb8829c73281bcf8b80da15078f9df18815b0a645c77c1b26dbebbde5
data/.gitignore CHANGED
@@ -48,3 +48,4 @@ deployment.yaml
48
48
 
49
49
  # rspec failure tracking
50
50
  .rspec_status
51
+ ampedxx-wechat-protocal-0.1.0.gem
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Wechat
2
2
  module Protocal
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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-07 00:00:00.000000000 Z
11
+ date: 2018-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler