ProcessFormServiceInterface.php 804 Bytes
Newer Older
1 2 3 4 5
<?php


namespace Meibuyu\Micro\Service\Interfaces\Flow;

王源's avatar
王源 committed
6 7 8 9
/**
 * @deprecated 此接口废弃,在之后的版本会被删除
 * 请引入meibuyu/rpc组件,使用Meibuyu\Rpc\Service\Interfaces\Flow\ProcessFormServiceInterface
 */
10 11 12 13
interface ProcessFormServiceInterface
{
    /**
     * 创建流程申请
周智鹏's avatar
周智鹏 committed
14 15 16 17
     * @param integer $processId 流程id
     * @param string $url 表单图片地址
     * @param array $data 表单详细内容
     * @param string $user 当前用户信息
18 19
     * @return mixed
     */
周智鹏's avatar
周智鹏 committed
20 21 22 23 24 25 26 27
    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);
28
}