wx_wfl_approve_agree.lsc 776 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.node_action_id = json.node_action_id;
        	$ctx.parameter.comment_text = json.comment_text;
        	$ctx.parameter.user_id = json.user_id;
    	]]></s:server-script>
        <a:model-execute model="hls_weixin.wx_wfl_approve_agree"/>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>