wx_wfl_transfer_confirm.lsc 818 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
<?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.rcpt_record_id = json.rcpt_record_id;
            $ctx.parameter.transfer_to_user_id = json.transfer_to_user_id;
            $ctx.parameter.transfer_comment = json.transfer_comment;
            $ctx.parameter.user_id = json.user_id;
        ]]></s:server-script>
        <a:model-execute model="hls_weixin.wx_wfl_transfer_confirm"/>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>