Prohibit.php 449 Bytes
<?php

/**
 * Description of Realname
 *
 * @author Elkan
 * @datetime 2014-11-11  11:53:08
 */

namespace YHMPassport\SqlMap\Prohibit;

class Prohibit {
    const SET_PROHIBIT_BY_UID = 'insert into user_prohibit(uid,fid,create_time) values(:uid,:type,UNIX_TIMESTAMP())';
    const SELSET_TYPE_BY_UID = 'select * from user_prohibit where uid=:uid and fid=:type';
    const DELETE_BY_UID = 'delete from user_prohibit where uid=:uid and fid=:type';
}