首先打开 ACCOUNT 库的 存储过程。.然后选择cabal_tool_registerAccount 这个存储过程..右键.修改.. 找到 insert into cabal_charge_auth(usernum, type, expiredate, payminutes)替换为 insert into cabal_charge_auth(usernum, type, expiredate, payminutes, ServiceKind ) values(@UserNum, 1, 2010-10-10 0:00:00, 999999, 5 )然后执行保存就实现了注册送VIP的功能.. 或者修改 cabal_charge_auth 表的 ServiceKind 字段的默认值 为 5.. 也可以....不过.不推荐使用.如果使用的话.其他有2个字段.控制时间这些的.ExpireDate跟 PayMinutes 也得修改.嘿嘿.还是用第一种吧..直接复制粘贴就好了.
文章转载请注明出处:http://www.haomly.com/Article.html