Commit b527967c by wangyong

feat: (ydzClient) 磐农项目 获取openToken添加前缀

parent c8edbe0f
......@@ -11,7 +11,7 @@ const redisClient = system.getObject("util.redisClient");
const pushYiDaZhang = async(data = {}) => {
const { appKey, appSecret } = settings.ydzKey();
const openToken = JSON.parse(await redisClient.get('ydzToken')).access_token;
const openToken = JSON.parse(await redisClient.get(`${ydz_prefix}ydzToken`)).access_token;
console.log('----------------------------open-----------------------');
console.log(openToken);
const header = {
......
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