恭喜,你发布的帖子
发布于 2015-12-29 15:41:07
4楼
新建一个文本,然后在属性“文本”写上函数:
char* temp=GetTagChar("@CurrentUser"); //Return-Type: char*
if(strcmp(temp,"admin")==0) return "系统管理员";
if(strcmp(temp,"ty001")==0) return "1#操作员";
if(strcmp(temp,"ty002")==0) return "2#操作员";
if(strcmp(temp,"ty003")==0) return "3#操作员";
if(strcmp(temp,"")==0) return "系统未登录";
请填写推广理由:
分享
只看
楼主