<?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);
            if (json.instance_id) {
                $ctx.parameter.instance_id = json.instance_id;
            }
            if (json.combox_value) {
                $ctx.parameter.combox_value = json.combox_value;
            }
            if (json.user_id) {
                $ctx.parameter.user_id = json.user_id;
            }
        ]]></s:server-script>
        <a:model-execute model="hls_weixin.wx_wfl_combox_confirm"/>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>