摘要:
配置线程池 @Configuration @EnableAsync public class AsyncConfiguration { @Bean("doSomethingExecutor") public Executor doSomethingExecutor() { ThreadPoolTas 阅读全文
摘要:
public void test() { SqlParameter[] para = new SqlParameter[2]; para[0] = new SqlParameter("@typ", 1); para[1] = new SqlParameter("@sc",SqlDbType.Int,0,ParameterDirection.Output,true,new byte(),new byte(),"",DataRowVersion.Default,0); var e1 = WContext.D... 阅读全文
摘要:
配置相关 登录代码 public void Logining() { var name = Request.Form["name"]; var pwd = Request.Form["pwd"]; BLLUser us = new BLLUser(); var ishave = us.IsHaveUser(name, pwd); if (ishave != null) { //添加身份验证 ... 阅读全文