thinkphp6密码加盐加密公共封装
2022-11-24 11:10:29
131
{{single.collect_count}}
//加盐加密if(!function_exists('encrypt_password')){function encrypt_password($password){//加盐处理$salt="1qqq!tjghfgdfsdasadsfdgfh";return md5(md5(trim($password).$salt));}}

调用

 $data=encrypt_password("123456"); return success($data); die();
回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}