king
2024-02-04 0bbaa727cdfc65622e33e91c4bf694c83f184535
src/utils/timer-task.js
@@ -26,14 +26,15 @@
    } else {
      let _param = {
        func: 's_get_timers_role',
        LText: `select '${window.GLOB.appkey || ''}','${uuid}'`,
        LText: `select '${window.GLOB.appkey || ''}','${uuid}'`, // 只用做密钥验证,已无效
        timer_type: interval,
        component_id: uuid
        component_id: uuid,
        exec_type: 'x'
      }
      
      _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')          // 时间戳
      _param.LText = Utils.formatOptions(_param.LText)                   // 关键字符替换,base64加密
      _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp)   // md5密钥
      _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
      _param.LText = Utils.formatOptions(_param.LText, 'x')
      _param.secretkey = Utils.encrypt('', _param.timestamp)
  
      Api.getSystemConfig(_param).then(result => {
        if (!result.status) {