|
@@ -35,6 +35,31 @@ type previewRes {
|
|
|
RepeatNumb int64 `form:"repeatNumb"`
|
|
|
DeductionNumb int64 `form:"deductionNumb"`
|
|
|
}
|
|
|
+
|
|
|
+//流水账请求参数返回参数
|
|
|
+type recordReq {
|
|
|
+ AccountId string `form:"accountId,optional"` //企业标识
|
|
|
+ UserId string `form:"userId,optional"` //用户标识
|
|
|
+ Page int `form:"page,optional"`
|
|
|
+ PageSize int `form:"pageSize,optional"`
|
|
|
+}
|
|
|
+
|
|
|
+type recordRes {
|
|
|
+ Code int64 `json:"code"`
|
|
|
+ Message string `json:"message"`
|
|
|
+}
|
|
|
+
|
|
|
+//查询用户资源权限
|
|
|
+type authReq {
|
|
|
+ AccountId string `form:"accountId,optional"` //企业标识
|
|
|
+ UserId string `form:"userId,optional"` //用户标识
|
|
|
+}
|
|
|
+
|
|
|
+type authRes {
|
|
|
+ Code int64 `json:"code"`
|
|
|
+ Message string `json:"message"`
|
|
|
+}
|
|
|
+
|
|
|
service integral-api {
|
|
|
//资源操作
|
|
|
@handler UpdateUserBalanceHandler // TODO: set handler name and delete this comment
|
|
@@ -42,4 +67,10 @@ service integral-api {
|
|
|
//预览信息
|
|
|
@handler FindPreviewHandler // TODO: set handler name and delete this comment
|
|
|
post /findPreview (previewReq) returns(previewRes)
|
|
|
+ //流水账
|
|
|
+ @handler FindRecordHandler // TODO: set handler name and delete this comment
|
|
|
+ post /findRecord (recordReq) returns(recordRes)
|
|
|
+ //查询账户资源权限
|
|
|
+ @handler FindAuthHandler // TODO: set handler name and delete this comment
|
|
|
+ post /findAuth (authReq) returns(recordRes)
|
|
|
}
|