1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| syntax = "proto3";
|
| package shop;
|
|
| message StatisticByUserReq {
| string userId = 1;
| }
|
| message StatisticByUserReply {
| float monetary = 1;
| int32 orderAmount = 2;
| int32 loginTimes = 3;
| int32 installDevAmount = 4;
| int32 buySdkAmount = 5;
| int32 avgLoginDur = 6;
| int32 productViews = 7;
| }
|
| service StatisticService {
| rpc StatisticByUser(StatisticByUserReq) returns (StatisticByUserReply) {}
| }
|
|