authority_info(控制用户权限字段)参数生成规则:
例:access_token:17464962873ecbcaebacdebe9b82fdce 用户id:10102023
1、access_token+','+用户id ,例:17464962873ecbcaebacdebe9b82fdce,10102023
2、用户id是获取当前用户信息接口(https://api.kingdee.com/weigusoft/basedata/get_current_user_info )返回的id
获取当前用户信息curl
curl ^"https://api.kingdee.com/weigusoft/basedata/get_current_user_info?access_token=17464962873ecbcaebacdebe9b82fdce^" ^
-H ^"Accept: */*^" ^
-H ^"Accept-Language: zh-CN,zh;q=0.9^" ^
-H ^"Connection: keep-alive^" ^
-H ^"Content-Type: application/json;charset=UTF-8^" ^
-H ^"Origin: http://localhost:5173^" ^
-H ^"Referer: http://localhost:5173/^" ^
-H ^"Sec-Fetch-Dest: empty^" ^
-H ^"Sec-Fetch-Mode: cors^" ^
-H ^"Sec-Fetch-Site: cross-site^" ^
-H ^"User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1^" ^
-H ^"X-GW-Router-Addr: https://tf-ek.jdy.com^" ^
-H ^"access_token: 17464962873ecbcaebacdebe9b82fdce^" ^
-H ^"accountId: 1675743896569628608^" ^
-H ^"groupName: ns-isv5^" ^
--data-raw ^"^{^}^"

3、拼接后需要用AES加密
authority_info:YiyLl+eZDehXLRo2mpBLziNDxg5w6wjrfZ4AxgROyyyORJYkB7sQbQxjK9gO33E/
AES加密线上生成链接:https://www.toolhelper.cn/SymmetricEncryption/AES
AES加密:秘钥 key=2c17e560c500f55c
偏移量 iv=5e8y6w45ju8w9jq8