routers

package
v0.0.0-...-b4ee2f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

* @Descripttion: * @version: * @Author: fmy1993 * @Date: 2021-03-30 11:02:29 * @LastEditors: fmy1993 * @LastEditTime: 2021-05-12 21:59:33

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCrop

func CreateCrop(stub shim.ChaincodeStubInterface, args []string) pb.Response

增加数据 参数自动 [][]byte --> []string pb.Response is a struct

func CreateDonating

func CreateDonating(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateDonating 发起捐赠

func CreateRealEstate

func CreateRealEstate(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateRealEstate 新建房地产(管理员)

func CreateSelling

func CreateSelling(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateSelling 发起销售

func CreateSellingByBuy

func CreateSellingByBuy(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateSellingByBuy 参与销售(买家购买)

func QueryAccountList

func QueryAccountList(stub shim.ChaincodeStubInterface, args []string) pb.Response

QueryAccountList 查询账户列表

func QueryCrop

func QueryCrop(stub shim.ChaincodeStubInterface, args []string) pb.Response

查询上链数据列表

func QueryDonatingList

func QueryDonatingList(stub shim.ChaincodeStubInterface, args []string) pb.Response

QueryDonatingList 查询捐赠列表(可查询所有,也可根据发起捐赠人查询)(发起的)(供捐赠人查询)

func QueryDonatingListByGrantee

func QueryDonatingListByGrantee(stub shim.ChaincodeStubInterface, args []string) pb.Response

QueryDonatingListByGrantee 根据受赠人(受赠人AccountId)查询捐赠(受赠的)(供受赠人查询)

func QueryRealEstateList

func QueryRealEstateList(stub shim.ChaincodeStubInterface, args []string) pb.Response

QueryRealEstateList 查询房地产(可查询所有,也可根据所有人查询名下房产)

func QuerySellingList

func QuerySellingList(stub shim.ChaincodeStubInterface, args []string) pb.Response

QuerySellingList 查询销售(可查询所有,也可根据发起销售人查询)(发起的)(供卖家查询)

func QuerySellingListByBuyer

func QuerySellingListByBuyer(stub shim.ChaincodeStubInterface, args []string) pb.Response

QuerySellingListByBuyer 根据参与销售人、买家(买家AccountId)查询销售(参与的)(供买家查询)

func UpdateCrop

func UpdateCrop(stub shim.ChaincodeStubInterface, args []string) pb.Response

根据账本数据库的id更新账本数据库

func UpdateDonating

func UpdateDonating(stub shim.ChaincodeStubInterface, args []string) pb.Response

UpdateDonating 更新捐赠状态(确认受赠、取消)

func UpdateSelling

func UpdateSelling(stub shim.ChaincodeStubInterface, args []string) pb.Response

UpdateSelling 更新销售状态(买家确认、买卖家取消)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL