Html/CSS
乐杨俊 标签描述

1:背景 govetcompositeliteralusesunkeyedfields错误 2:废话少说,直接上代码 //main里面调用GetLoginAuth封装的方法 authDetail,authErr:=opMini.GetLoginAuth(ctx,openyun.LoginAuthParam{ deviceId, }) //对应方法类 typeLoginAuthParamstruct{ DeviceIdstring } func()GetLoginAuth(ctxutils.Context,paramsLoginAuthParam)(tLoginAuthInfoDat...