wx_wfl_combox_query.lsc 735 Bytes
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?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.position_code) {
                $ctx.parameter.position_code = json.position_code;
            }
        ]]></s:server-script>
        <a:model-query model="hls_weixin.wx_wfl_combox_query"/>
    </a:init-procedure>
    <a:service-output output="/model"/>
</a:service>