ProcessFormServiceInterface.php 635 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
<?php


namespace Meibuyu\Micro\Service\Interfaces\Flow;


interface ProcessFormServiceInterface
{
    /**
     * 创建流程申请
周智鹏's avatar
周智鹏 committed
11 12 13 14
     * @param integer $processId 流程id
     * @param string $url 表单图片地址
     * @param array $data 表单详细内容
     * @param string $user 当前用户信息
15 16
     * @return mixed
     */
周智鹏's avatar
周智鹏 committed
17 18 19 20 21 22 23 24
    public function createProcessForm($processId, $url, array $data, $user);

    /**
     * @param array $ApplyId 申请的id
     * @param string $operate 操作:'agree'同意  'turnDown'驳回  'plug'撤回
     * @return mixed
     */
    public function operateFlow($ApplyId, $operate);
25
}