<?xml version="1.0" encoding="UTF-8"?> <a:service xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" trace="true"> <a:init-procedure> <s:server-script import="wx/aes.js;wx/wechat.js"><![CDATA[ var data = AES.decrypt(hls_config.aeskey, $ctx.parameter.data); var json = JSON.parse(data); $ctx.parameter.instance_id = json.instance_id; if (json.node_id) { $ctx.parameter.node_id = json.node_id; } ]]></s:server-script> <a:model-query model="hls_weixin.wx_wfl_common_query"/> </a:init-procedure> <a:service-output output="/model"/> </a:service>