You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using System.Web.Mvc;
|
|
|
|
|
using DSWeb.TruckMng.Helper;
|
|
|
|
|
using System.Data.SqlClient;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using Microsoft.Practices.EnterpriseLibrary.Data;
|
|
|
|
|
using System.Web.Security;
|
|
|
|
|
using DSWeb.Areas.Mobile.DAL;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.Mobile.Controllers
|
|
|
|
|
{
|
|
|
|
|
public class WeChatHandlerController:Controller
|
|
|
|
|
{
|
|
|
|
|
public ActionResult Index ( )
|
|
|
|
|
{
|
|
|
|
|
return View();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ContentResult SendTM ( string bsno ) {
|
|
|
|
|
TemplateMessageDAL.Send(0, bsno);
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ContentResult RefreshToken ( ) {
|
|
|
|
|
AccessTokenDAL.RefrashAccessToken();
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|