king
2022-07-01 04a71ecb03c8aaebceade470045ea8676f0baf2f
src/templates/sharecomponent/settingcomponent/settingform/simplescript/index.jsx
@@ -289,8 +289,10 @@
      exec_type: 'y',
      LText: SettingUtils.getCustomDebugSql(_scripts, this.props.regoptions)
    }
    param.LText = Utils.formatOptions(param.LText)
    param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
    param.LText = param.LText.replace(/@(BID|ID|LoginUID|SessionUid|UserID|Appkey|time_id)@/ig, `'${param.timestamp}'`)
    param.LText = Utils.formatOptions(param.LText)
    param.secretkey = Utils.encrypt('', param.timestamp)
    
    this.setState({loading: true})