SupplyWareHouseController.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using JCSoft.WX.Framework.Api;
  2. using Microsoft.AspNetCore.Mvc;
  3. using Microsoft.AspNetCore.Http;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Threading.Tasks;
  8. using Common.Wechat;
  9. using Common;
  10. using SupplierWeb.Codes.mvc;
  11. namespace SupplierWeb.Controllers
  12. {
  13. [Route("web/supplywarehouse")]
  14. public class WareHouseController : Controller
  15. {
  16. public WareHouseController()
  17. {
  18. }
  19. ////有挂靠的业务员查看发票签收状态,付款状态
  20. [AuthPermission]
  21. [HttpGet,Route("orderinvoice")]
  22. public ActionResult OrderInvoice(string echostr, string signature, string timestamp, string nonce)
  23. {
  24. #region 获取Openid
  25. WechatHelper.ReGetOpenId(HttpContext);
  26. #endregion
  27. return View();
  28. }
  29. ////有挂靠的业务员可以在协同系统中查询其所供的商品库存
  30. [AuthPermission]
  31. [HttpGet,Route("productstockin")]
  32. public ActionResult ProductStockIn(string echostr, string signature, string timestamp, string nonce)
  33. {
  34. #region 获取Openid
  35. //WechatHelper.ReGetOpenId(HttpContext);
  36. #endregion
  37. return View();
  38. }
  39. }
  40. }