1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-system/pb/v1";
- message GardenInfosRequest {
- repeated int64 ids = 1;
- }
- message GardenItem {
- // 物业公司id
- int64 cid = 1;
- // 省
- string province = 2;
- string province_code = 3;
- // 市
- string city = 4;
- string city_code = 5;
- // 区
- string area = 6;
- string area_code = 7;
- // 街道
- string street = 8;
- string street_code = 9;
- // 社区
- string committee = 10;
- string committee_code = 11;
- // 小区名字
- string garden_name = 12;
- // 小区地址
- string garden_addr = 13;
- // 物业联系人
- string property_person = 14;
- // 物业联系人手机号
- string property_phone = 15;
- int64 id = 16;
- string garden_pic = 17;
- string garden_desc = 18;
- bool in_use = 19;
- // 经度
- double lnt = 20;
- // 纬度
- double lat = 21;
- repeated string appendix = 22;
- int32 status = 23;
- string feedback = 24;
- int32 pay_mode = 25;
- string mch_id = 26;
- int64 house_count_limit = 27;
- int64 house_count = 28;
- bool enable = 29;
- int64 expire_at = 30;
- // 1塔楼 2 板楼 3 塔板结合 4 其他
- int32 building_type = 31;
- // 建成年份开始时间戳
- int64 building_start = 32;
- // 建成年份结束时间戳
- int64 building_end = 33;
- // 绿化率
- double green_percent = 34;
- // 容积率
- double area_percent = 35;
- // 车位配比
- string space_info = 36;
- // 占地面积
- double covered_area = 37;
- // 建筑面积
- double building_area = 38;
- // 小区图片
- repeated string garden_pics = 39;
- // 开发企业
- string building_company = 40;
- // 总户数
- int64 house_total = 41;
- // 固定车位数
- int64 space_total = 42;
- // 物业费开始,单位分
- int64 property_fee_start = 43;
- // 物业费结束, 单位分
- int64 property_fee_end = 44;
- // 水费类型多选 1 民用 2 商用
- repeated int32 water_type = 45;
- // 电费类型多选 1 民用 2 商用
- repeated int32 electric_type = 46;
- // 燃气费开始,单位分
- int64 gas_fee_start = 47;
- // 燃气费开始,单位分
- int64 gas_fee_end = 48;
- int64 avg_price = 49;
- int64 rent_count = 50;
- int64 sell_count = 51;
- }
- message GardenInfosReply {
- repeated GardenItem list = 1;
- }
- message GardenIdInfo {
- int64 garden_id = 1;
- string garden_name = 2;
- }
- message GardenIdsRequest {
- string garden_name = 1;
- int64 building_year_greater = 3;
- int64 building_year_less = 4;
- int32 building_type = 5;
- }
- message GardenIdsReply {
- repeated GardenIdInfo garden_ids = 1;
- }
- message GardenAddRequest {
- // 物业公司id
- int64 cid = 1;
- // 省
- string province = 2;
- string province_code = 3;
- // 市
- string city = 4;
- string city_code = 5;
- // 区
- string area = 6;
- string area_code = 7;
- // 街道
- string street = 8;
- string street_code = 9;
- // 社区
- string committee = 10;
- string committee_code = 11;
- // 小区名字
- string garden_name = 12;
- // 小区地址
- string garden_addr = 13;
- // 物业联系人
- string property_person = 14;
- // 物业联系人手机号
- string property_phone = 15;
- // 免费小区个数
- int32 free_garden_count = 16;
- string garden_pic = 17;
- string garden_desc = 18;
- // 经度
- double lnt = 19;
- // 纬度
- double lat = 20;
- repeated string appendix = 21;
- int64 order_id = 22;
- // 1塔楼 2 板楼 3 塔板结合 4 其他
- int32 building_type = 31;
- // 建成年份开始时间戳
- int64 building_start = 32;
- // 建成年份结束时间戳
- int64 building_end = 33;
- // 绿化率
- double green_percent = 34;
- // 容积率
- double area_percent = 35;
- // 车位配比
- string space_info = 36;
- // 占地面积
- double covered_area = 37;
- // 建筑面积
- double building_area = 38;
- // 小区图片
- repeated string garden_pics = 39;
- // 开发企业
- string building_company = 40;
- // 总户数
- int64 house_total = 41;
- // 固定车位数
- int64 space_total = 42;
- // 物业费开始,单位分
- int64 property_fee_start = 43;
- // 物业费结束, 单位分
- int64 property_fee_end = 44;
- // 水费类型多选 1 民用 2 商用
- repeated int32 water_type = 45;
- // 电费类型多选 1 民用 2 商用
- repeated int32 electric_type = 46;
- // 燃气费开始,单位分
- int64 gas_fee_start = 47;
- // 燃气费开始,单位分
- int64 gas_fee_end = 48;
- int64 avg_price = 49;
- }
- message GardenAddReply {
- int64 id = 1;
- }
- message GardenListRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 cid = 3;
- string committee_code = 4;
- bool need_appendix = 5;
- bool not_approved = 6;
- string street_code = 7;
- string garden_name = 8;
- int32 approve_status = 9;
- int64 building_year_greater = 10;
- int64 building_year_less = 11;
- int32 building_type = 12;
- int64 price_greater = 13;
- int64 price_less = 14;
- string area_code = 15;
- string city_code = 16;
- string province_code = 18;
- bool management = 19;
- bool household = 20;
- }
- message GardenListReply {
- int64 page = 1;
- int64 total = 2;
- repeated GardenItem list = 3;
- }
- message GardenUpdateRequest {
- // id
- int64 id = 1;
- // 省
- string province = 2;
- string province_code = 3;
- // 市
- string city = 4;
- string city_code = 5;
- // 区
- string area = 6;
- string area_code = 7;
- // 街道
- string street = 8;
- string street_code = 9;
- // 社区
- string committee = 10;
- string committee_code = 11;
- // 小区名字
- string garden_name = 12;
- // 小区地址
- string garden_addr = 13;
- // 物业联系人
- string property_person = 14;
- // 物业联系人手机号
- string property_phone = 15;
- int64 cid = 16;
- string garden_pic = 17;
- string garden_desc = 18;
- // 经度
- double lnt = 19;
- // 纬度
- double lat = 20;
- // 1塔楼 2 板楼 3 塔板结合 4 其他
- int32 building_type = 31;
- // 建成年份开始时间戳
- int64 building_start = 32;
- // 建成年份结束时间戳
- int64 building_end = 33;
- // 绿化率
- double green_percent = 34;
- // 容积率
- double area_percent = 35;
- // 车位配比
- string space_info = 36;
- // 占地面积
- double covered_area = 37;
- // 建筑面积
- double building_area = 38;
- // 小区图片
- repeated string garden_pics = 39;
- // 开发企业
- string building_company = 40;
- // 总户数
- int64 house_total = 41;
- // 固定车位数
- int64 space_total = 42;
- // 物业费开始,单位分
- int64 property_fee_start = 43;
- // 物业费结束, 单位分
- int64 property_fee_end = 44;
- // 水费类型多选 1 民用 2 商用
- repeated int32 water_type = 45;
- // 电费类型多选 1 民用 2 商用
- repeated int32 electric_type = 46;
- // 燃气费开始,单位分
- int64 gas_fee_start = 47;
- // 燃气费开始,单位分
- int64 gas_fee_end = 48;
- int64 avg_price = 49;
- }
- message GardenUpdateReply {
- GardenUpdateRequest origin = 1;
- }
- message GardenKeyInfoChangeRequest {
- int64 id = 1;
- int64 cid = 2;
- string province = 3;
- string province_code = 4;
- // 市
- string city = 5;
- string city_code = 6;
- // 区
- string area = 7;
- string area_code = 8;
- // 街道
- string street = 9;
- string street_code = 10;
- // 社区
- string committee = 11;
- string committee_code = 12;
- string garden_name = 13;
- }
- message GardenKeyInfoChangeReply {
- }
- message GardenKeyInfoChangeListRequest {
- int64 cid = 1;
- int64 garden_id = 2;
- int32 status = 3;
- int64 page = 4;
- int64 page_size = 5;
- }
- message GardenKeyInfoData {
- int32 status = 1;
- string garden_name = 2;
- string garden_detail = 3;
- int64 cid = 4;
- int64 garden_id = 5;
- int64 id = 6;
- string feedback = 7;
- repeated GardenKeyInfoItem list = 8;
- }
- message GardenKeyInfoItem {
- string field_name = 1;
- string field_value_src = 2;
- string field_value_dst = 3;
- }
- message GardenKeyInfoChangeListReply {
- int64 page = 1;
- int64 total = 2;
- repeated GardenKeyInfoData list = 3;
- }
- message GardenKeyInfoApproveRequest {
- int64 id = 1;
- string feedback = 2;
- bool status = 3;
- }
- message GardenKeyInfoApproveReply {
- }
- message GardenApproveRequest {
- int64 id = 1;
- string feedback = 2;
- bool status = 3;
- }
- message GardenApproveReply {
- }
- message GardenDelRequest {
- int64 id = 1;
- int64 cid = 2;
- }
- message GardenDelReply {
- GardenUpdateRequest origin = 1;
- }
- message GardenChangeCompanyRequest {
- int64 garden_id = 1;
- int64 cid = 2;
- }
- message GardenChangeCompanyReply {
- GardenChangeCompanyRequest origin = 1;
- }
- message SystemGroupPermissionData {
- // 父code,若没有则填空
- string pcode = 1;
- // 组件路径
- string path = 2;
- // 权限名字
- string name = 3;
- // 路由
- string router = 4;
- string code = 5;
- string applete_path = 6;
- }
- message LoginRequest {
- string username = 1;
- string password = 2;
- // 是否来源于员工小程序
- bool applete = 3;
- }
- message LoginReply {
- int64 uid = 1;
- string user_name = 2;
- int64 cid = 3;
- int64 garden_id = 4;
- int64 group_id = 5;
- bool is_super_group = 6;
- string garden_name = 7;
- string user_permission_time = 8;
- string global_permission_time = 9;
- repeated SystemGroupPermissionData permissions = 10;
- bool garden_enable = 11;
- string openim_id = 12;
- }
- message LoginByPhoneRequest {
- string phone = 1;
- string password = 2;
- // 是否来源于员工小程序
- bool applete = 3;
- }
- message LoginByPhoneReply {
- repeated LoginReply list = 1;
- }
- message CheckPhoneRequest {
- string phone = 1;
- }
- message CheckPhoneReply {
- }
- message UserAddRequest {
- string user_name = 1;
- string password = 2;
- string email = 3;
- string phone = 4;
- int64 group_id = 5;
- bool enable = 6;
- int64 garden_id = 7;
- int64 cid = 8;
- string garden_name = 9;
- bool by_company = 10;
- int64 uid = 11;
- string real_name = 12;
- int64 department_id = 13;
- int32 base_permission = 14;
- int32 gender = 15;
- }
- message UserAddReply {
- int64 id = 1;
- }
- message UserUpdateRequest {
- string user_name = 1;
- string password = 2;
- string email = 3;
- string phone = 4;
- bool enable = 5;
- int64 id = 6;
- int64 garden_id = 7;
- int64 cid = 8;
- string garden_name = 9;
- int64 group_id = 10;
- bool by_company = 11;
- int64 uid = 12;
- string real_name = 13;
- int64 department_id = 14;
- int32 base_permission = 15;
- bool person = 16;
- int32 gender = 17;
- }
- message UserUpdateReply {
- UserUpdateRequest origin = 1;
- }
- message UserDelRequest {
- int64 id = 1;
- int64 cid = 2;
- bool by_company = 3;
- int64 uid = 4;
- int64 garden_id = 5;
- }
- message UserDelReply {
- UserUpdateRequest origin = 1;
- }
- message UserListRequest {
- int64 cid = 1;
- int64 garden_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- string garden_name = 5;
- string user_name = 6;
- bool by_company = 7;
- int64 group_id = 8;
- string phone = 9;
- repeated int64 ids = 10;
- repeated int64 exclude = 11;
- }
- message UserItem {
- string user_name = 1;
- string password = 2;
- string email = 3;
- string phone = 4;
- bool super = 5;
- bool enable = 6;
- int64 id = 7;
- int64 garden_id = 8;
- int64 cid = 9;
- string garden_name = 10;
- string created_at = 11;
- int64 group_id = 12;
- string group_name = 13;
- string department_name = 14;
- string real_name = 15;
- int32 base_permission = 16;
- string openim_id = 17;
- int32 gender = 18;
- }
- message UserListReply {
- int64 total = 1;
- int64 page = 2;
- repeated UserItem list = 3;
- }
- message SuperGroupRequest {
- int64 cid = 1;
- int64 garden_id = 2;
- }
- message SuperGroupReply {
- int64 id = 1;
- }
- message UserGardenChangeRequest {
- int64 garden_id = 1;
- string garden_name = 2;
- }
- message UserGardenChangeReply {
- }
- message GroupAddRequest {
- int64 garden_id = 1;
- int64 cid = 2;
- repeated string permission_codes = 3;
- bool is_super = 4;
- string group_name = 5;
- string group_desc = 6;
- }
- message GroupAddReply {
- int64 id = 1;
- }
- message GroupUpdateRequest {
- int64 id = 1;
- string group_name = 2;
- repeated string permission_codes = 3;
- int64 garden_id = 4;
- int64 cid = 5;
- string group_desc = 6;
- }
- message GroupUpdateReply {
- GroupUpdateRequest origin = 1;
- }
- message GroupDelRequest {
- int64 id = 1;
- int64 garden_id = 2;
- int64 cid = 3;
- }
- message GroupDelReply {
- GroupUpdateRequest origin = 1;
- }
- message GroupItem {
- int64 id = 1;
- string group_name = 2;
- string group_desc = 3;
- int64 user_count = 4;
- bool super = 5;
- }
- message GroupListRequest {
- int64 garden_id = 1;
- int64 cid = 2;
- }
- message GroupListReply {
- repeated GroupItem list = 1;
- }
- message GroupInfoRequest {
- int64 id = 1;
- }
- message SystemGroupPermissionItem {
- // 父code,若没有则填空
- string pcode = 1;
- // 小程序组件路径
- string applete_path = 2;
- // 权限名字
- string name = 3;
- // 是否拥有该权限
- bool selected = 4;
- // 路由
- string router = 5;
- string code = 6;
- // 组件路径
- string path = 7;
- repeated SystemGroupPermissionItem childs = 8;
- }
- message GroupInfoReply {
- repeated SystemGroupPermissionItem list = 1;
- }
- message ResetPasswordRequest {
- string phone = 1;
- int64 uid = 2;
- uint32 vcode = 3;
- string password = 5;
- }
- message ResetPasswordData {
- // 用户id
- int64 uid = 1;
- // 用户名
- string username = 2;
- // 小区名
- string garden_name = 3;
- }
- message ResetPasswordReply {
- repeated ResetPasswordData list = 1;
- }
- message ChangePasswordRequest {
- int64 uid = 1;
- string old_password = 2;
- string new_password = 3;
- bool by_company = 4;
- }
- message ChangePasswordReply {
- }
- message DepartmentAddRequest {
- int64 garden_id = 1;
- int64 cid = 2;
- string department_name = 3;
- string desc = 4;
- }
- message DepartmentAddReply {
- int64 id = 1;
- }
- message DepartmentUpdateRequest {
- int64 garden_id = 1;
- string department_name = 2;
- string desc = 3;
- int64 id = 4;
- }
- message DepartmentUpdateReply {
- DepartmentUpdateRequest origin = 1;
- }
- message DepartmentDelRequest {
- int64 garden_id = 1;
- int64 id = 2;
- }
- message DepartmentDelReply {
- DepartmentUpdateRequest origin = 1;
- }
- message DepartmentItem {
- int64 id = 1;
- string department_name = 2;
- string desc = 3;
- string created_at = 4;
- }
- message DepartmentListRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 garden_id = 3;
- }
- message DepartmentListReply {
- int64 page = 1;
- int64 total = 2;
- repeated DepartmentItem list = 3;
- }
- message CompanyEnterGardenRequest {
- int64 garden_id = 1;
- int64 cid = 2;
- }
- message CompanyEnterGardenReply {
- string garden_name = 1;
- repeated SystemGroupPermissionData permissions = 2;
- string global_permission_time = 3;
- }
- message GardenSetMchRequest {
- int64 cid = 1;
- string mch_id = 2;
- int64 garden_id = 3;
- }
- message GardenSetMchReply {
- }
- message GardenSetMchPayModeRequest {
- int64 cid = 1;
- int64 garden_id = 2;
- int32 pay_mode = 3;
- }
- message GardenSetMchPayModeReply {
- }
- message CompanyMchGardenListRequest {
- int64 cid = 1;
- string mch_id = 2;
- int64 garden_id = 3;
- }
- message CompanyMchGardenItem {
- int64 garden_id = 1;
- string mch_id = 2;
- string garden_name = 3;
- int32 pay_mode = 4;
- }
- message CompanyMchGardenListReply {
- repeated CompanyMchGardenItem list = 1;
- }
- message PermissionRegetRequest {
- int64 uid = 1;
- // 是否来源于员工小程序
- bool applete = 2;
- bool company = 3;
- int64 garden_id = 4;
- }
- message PermissionRegetReply {
- int64 uid = 1;
- string user_name = 2;
- int64 cid = 3;
- int64 garden_id = 4;
- int64 group_id = 5;
- bool is_super_group = 6;
- string garden_name = 7;
- string user_permission_time = 8;
- string global_permission_time = 9;
- repeated SystemGroupPermissionData permissions = 10;
- bool garden_enable = 11;
- }
- // 应用相关
- message ApplicationOrderAddRequest {
- int64 garden_id = 1;
- int64 application_id = 2;
- int64 cid = 3;
- }
- message ApplicationOrderAddReply {
- int64 order_id = 1;
- string application_name = 2;
- string application_desc = 3;
- // 支付方式 1 对公转账
- int32 pay_type = 4;
- // 订单金额
- int64 amount = 5;
- // 开户行
- string bank_name = 6;
- // 银行账号
- string bank_account = 7;
- // 户名
- string bank_user_name = 8;
- }
- message ApplicationOrderApproveRequest {
- int64 order_id = 1;
- bool status = 2;
- string feedback = 3;
- }
- message ApplicationOrderApproveReply {
- }
- message GardenApplicationListRequest {
- int64 garden_id = 1;
- int64 page = 2;
- int64 page_size = 3;
- int32 status = 4;
- }
- message GardenApplicationItem {
- string icon = 1;
- string desc = 2;
- string name = 3;
- string content = 4;
- int64 amount = 5;
- bool enable = 6;
- int64 application_id = 7;
- int64 order_id = 8;
- // 1 待审批 2 通过 3 未通过
- int32 status = 9;
- // 1 对公转帐
- int32 pay_type = 10;
- string feedback = 11;
- string garden_name = 12;
- int64 created_at = 13;
- }
- message GardenApplicationListReply {
- int64 page = 1;
- int64 total = 2;
- repeated GardenApplicationItem list = 3;
- }
- // 套餐相关
- message PackageOrderAddRequest {
- int64 cid = 1;
- int64 package_id = 2;
- int64 amount = 3;
- int64 garden_count = 4;
- int64 period = 5;
- int64 order_type = 6;
- string company_name = 7;
- int64 garden_id = 8;
- bool should_access = 9;
- }
- message PackageOrderAddReply {
- int64 order_id = 1;
- string package_name = 2;
- int64 period = 3;
- int64 garden_count = 4;
- // 支付方式 1 对公转账
- int32 pay_type = 5;
- // 订单金额
- int64 amount = 6;
- // 开户行
- string bank_name = 7;
- // 银行账号
- string bank_account = 8;
- // 户名
- string bank_user_name = 9;
- }
- message PackageOrderApproveRequest {
- int64 order_id = 1;
- bool status = 2;
- string feedback = 3;
- }
- message PackageOrderApproveReply {
- }
- message CompanyPackageListRequest {
- int64 cid = 1;
- int64 page = 2;
- int64 page_size = 3;
- int32 status = 4;
- int64 garden_id = 5;
- bool for_garden = 6;
- int32 order_type = 7;
- bool management = 8;
- }
- message CompanyPackageApplicationItem {
- string icon = 1;
- string desc = 2;
- string name = 3;
- string content = 4;
- int64 price = 5;
- bool enable = 6;
- int64 id = 7;
- }
- message CompanyPackageItem {
- string desc = 1;
- string name = 2;
- int64 amount = 3;
- int64 price = 4;
- bool enable = 5;
- int64 package_id = 6;
- int64 order_id = 7;
- int64 period = 8;
- // 1 待审批 2 通过 3 未通过
- int32 status = 9;
- // 1 对公转帐
- int32 pay_type = 10;
- string feedback = 11;
- string company_name = 12;
- int64 garden_id = 13;
- string garden_name = 14;
- int64 cid = 15;
- repeated CompanyPackageApplicationItem application_list = 16;
- int64 expire_at = 17;
- int64 created_at = 18;
- }
- message CompanyPackageListReply {
- int64 page = 1;
- int64 total = 2;
- repeated CompanyPackageItem list = 3;
- }
- message GardenPermissionListRequest {
- int64 garden_id = 1;
- }
- message PackageOrderAmountRequest {
- int64 order_id = 1;
- int64 amount = 2;
- }
- message PackageOrderAmountReply {
- }
- message ApplicationOrderAmountRequest {
- int64 order_id = 1;
- int64 amount = 2;
- }
- message ApplicationOrderAmountReply {
- }
- message GardenPermissionItem {
- // 父code,若没有则填空
- string pcode = 1;
- // 组件路径
- string path =2;
- // 权限名字
- string name = 3;
- // 小程序组件路径
- string applete_path = 4;
- // 路由
- string router = 5;
- string code = 6;
- // 1 已发布 2 未发布
- int32 enable = 7;
- int64 created_at = 8;
- int64 enable_at = 9;
- int64 level = 10;
- repeated GardenPermissionItem childs = 11;
- }
- message GardenPermissionListReply {
- repeated GardenPermissionItem list = 1;
- }
- message GardenHouseCountLimitRequest {
- int64 garden_id = 1;
- }
- message GardenHouseCountLimitReply {
- int64 house_count = 1;
- int64 house_count_limit = 2;
- }
- message GardenHouseCountChangeRequest {
- int64 garden_id = 1;
- int64 count = 2;
- }
- message GardenHouseCountChangeReply {
- }
- message GardenEnableSetRequest {
- int64 garden_id = 1;
- bool enable = 2;
- }
- message GardenEnableSetReply {
- }
- message GardenRentSellCountRequest {
- int64 garden_id = 1;
- int64 rent_increase = 2;
- int64 sell_increase = 3;
- }
- message GardenRentSellCountReply {
- }
- // 短信套餐相关
- message MsgPackageOrderAddRequest {
- int64 garden_id = 1;
- int64 package_id = 2;
- int64 amount = 3;
- int64 package_count = 4;
- int64 cid = 5;
- }
- message MsgPackageOrderAddReply {
- int64 order_id = 1;
- string package_name = 2;
- // 购买个数
- int64 package_count = 3;
- int64 garden_count = 4;
- // 支付方式 1 对公转账
- int32 pay_type = 5;
- // 订单金额
- int64 amount = 6;
- // 开户行
- string bank_name = 7;
- // 银行账号
- string bank_account = 8;
- // 户名
- string bank_user_name = 9;
- }
- message MsgPackageOrderApproveRequest {
- int64 order_id = 1;
- bool status = 2;
- string feedback = 3;
- }
- message MsgPackageOrderApproveReply {
- }
- message MsgPackageOrderListRequest {
- int64 garden_id = 1;
- bool management = 2;
- int64 page = 3;
- int64 page_size = 4;
- bool available = 5;
- int64 status = 6;
- }
- message MsgPackageOrderItem {
- int64 order_id = 1;
- string name = 2;
- string comment = 3;
- // 套餐短信条数
- int64 msg_count = 4;
- // 订单套餐短信总条数
- int64 msg_total_count = 5;
- // 订单套餐短信剩余条数
- int64 msg_available_count = 6;
- int64 package_id = 7;
- // 订单包含的套餐个数
- int64 package_count = 8;
- int64 created_at = 9;
- // 套餐单价
- int64 price = 10;
- // 订单总价
- int64 amount = 11;
- // 1 待审核 2 通过 3 未通过
- int32 status = 12;
- string garden_name = 13;
- int64 garden_id = 14;
- string feedback = 15;
- }
- message MsgPackageOrderListReply{
- int64 page = 1;
- int64 total = 2;
- repeated MsgPackageOrderItem list = 3;
- }
- message MsgPackageOrderDecreaseRequest {
- int64 order_id = 1;
- int64 garden_id = 2;
- int64 count = 3;
- }
- message MsgPackageOrderDecreaseReply {
- }
|