mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 19:56:37 +08:00
修改部分小数数字精度(float->double),增加用户服务状态API
This commit is contained in:
@@ -504,7 +504,7 @@ type SumUserUnpaidBillsResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Amount float32 `protobuf:"fixed32,1,opt,name=amount,proto3" json:"amount,omitempty"`
|
||||
Amount float64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SumUserUnpaidBillsResponse) Reset() {
|
||||
@@ -539,7 +539,7 @@ func (*SumUserUnpaidBillsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_user_bill_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *SumUserUnpaidBillsResponse) GetAmount() float32 {
|
||||
func (x *SumUserUnpaidBillsResponse) GetAmount() float64 {
|
||||
if x != nil {
|
||||
return x.Amount
|
||||
}
|
||||
@@ -605,7 +605,7 @@ var file_service_user_bill_proto_rawDesc = []byte{
|
||||
0x65, 0x72, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x1a, 0x53, 0x75, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x55,
|
||||
0x6e, 0x70, 0x61, 0x69, 0x64, 0x42, 0x69, 0x6c, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x02, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xb8, 0x03, 0x0a, 0x0f, 0x55,
|
||||
0x28, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xb8, 0x03, 0x0a, 0x0f, 0x55,
|
||||
0x73, 0x65, 0x72, 0x42, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47,
|
||||
0x0a, 0x14, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65,
|
||||
0x72, 0x42, 0x69, 0x6c, 0x6c, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x6e, 0x65,
|
||||
|
||||
Reference in New Issue
Block a user