新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit 4ec00c82 authored by gh lu's avatar gh lu

fix: update comments

--bug=0
parent 0e1710a0
......@@ -29,44 +29,44 @@ type SDKInterface interface {
// GetArgs get arg from transaction parameters
// @return: 参数map
GetArgs() map[string][]byte
// GetState get [key, field] from chain and db
// GetState get [key, field] from chain
// @param key: 获取的参数名
// @param field: 获取的参数名
// @return1: 获取结果,格式为string
// @return2: 获取错误信息
// Deprecated
GetState(key, field string) (string, error)
// GetStateWithExists get [key, field] from chain and db
// GetStateWithExists get [key, field] from chain
// @param key: 获取的参数名
// @param field: 获取的参数名
// @return1: 获取结果,格式为string
// @return2: 是否存在,bool, 字符串长度为0不代表不存在
// @return3: 获取错误信息
GetStateWithExists(key, field string) (string, bool, error)
// GetBatchState get [BatchKeys] from chain and db
// GetBatchState get [BatchKeys] from chain
// @param batchKey: 获取的参数名
// @return1: 获取结果
// @return2: 获取错误信息
GetBatchState(batchKeys []*vmPb.BatchKey) ([]*vmPb.BatchKey, error)
// GetStateByte get [key, field] from chain and db
// GetStateByte get [key, field] from chain
// @param key: 获取的参数名
// @param field: 获取的参数名
// @return1: 获取结果,格式为[]byte, nil表示不存在
// @return2: 获取错误信息
GetStateByte(key, field string) ([]byte, error)
// GetStateFromKey get [key] from chain and db
// GetStateFromKey get [key] from chain
// @param key: 获取的参数名
// @return1: 获取结果,格式为string
// @return2: 获取错误信息
// Deprecated
GetStateFromKey(key string) (string, error)
// GetStateFromKeyWithExists get [key] from chain and db
// GetStateFromKeyWithExists get [key] from chain
// @param key: 获取的参数名
// @return1: 获取结果,格式为string
// @return2: 是否存在,bool, 字符串长度为0不代表不存在
// @return3: 获取错误信息
GetStateFromKeyWithExists(key string) (string, bool, error)
// GetStateFromKeyByte get [key] from chain and db
// GetStateFromKeyByte get [key] from chain
// @param key: 获取的参数名
// @return1: 获取结果,格式为[]byte, nil表示不存在
// @return2: 获取错误信息
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment