Explorar o código

不用token的接口去除缓存

hu hai 2 meses
pai
achega
0a0efe95dc

+ 0 - 1
src/custom/restcontroller/saletool/sharematerial/sharematerial.java

@@ -262,7 +262,6 @@ public class sharematerial extends Controller {
     }
 
     @API(title = "素材详细", accesstoken = false)
-    @CACHEING
     public String selectDetailNoToken() throws YosException {
         Long sat_sharematerialid = content.getLong("sat_sharematerialid");
 

+ 0 - 1
src/custom/restcontroller/webmanage/sale/dispatch/dispatch.java

@@ -726,7 +726,6 @@ public class dispatch extends Controller {
 
 
     @API(title = "自动关闭(erp调用)", apiversion = R.ID20230413110103.v1.class, accesstoken = false)
-    @CACHEING_CLEAN(apiClass = {Order.class, OrderItems.class, restcontroller.sale.order.Order.class, dispatch.class, dispatchItems.class, cashbill.class})
     public String autoClose() throws YosException {
         String finvonum = content.getString("finvonum");
 

+ 0 - 4
src/custom/restcontroller/webmanage/sale/serviceorder/serviceorder.java

@@ -272,7 +272,6 @@ public class serviceorder extends Controller {
     }
 
     @API(title = "服务申请单详情(不验证token))", apiversion = R.ID20230217133003.v1.class, accesstoken = false)
-    @CACHEING
     public String queryserviceorderMainWithoutToken() throws YosException {
         Long sa_serviceorderid = content.getLong("sa_serviceorderid");
         SQLFactory sqlFactory = new SQLFactory(this, "服务申请单详情查询2");
@@ -374,7 +373,6 @@ public class serviceorder extends Controller {
 
 
     @API(title = "查询服务申请单列表(不验证token)", apiversion = R.ID20230217100703.v1.class, accesstoken = false)
-    @CACHEING
     public String queryserviceorderListWithoutToken() throws YosException {
         StringBuffer where = new StringBuffer(" 1=1 ");
         boolean isadmin = content.getBooleanValue("isadmin");
@@ -580,7 +578,6 @@ public class serviceorder extends Controller {
     }
 
     @API(title = "发送手机验证码", apiversion = R.ID20230215173103.v1.class, accesstoken = false)
-    @CACHEING
     public String sendMessage() throws YosException {
         String customerphone = content.getStringValue("customerphone");
         if (!Pattern.matches("^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$", customerphone)) {
@@ -608,7 +605,6 @@ public class serviceorder extends Controller {
      * 验证码校验
      **/
     @API(title = "发送手机验证码", apiversion = R.ID20230215173203.v1.class, accesstoken = false)
-    @CACHEING
     public String checkVerificationCode() throws YosException {
         String customerphone = content.getStringValue("customerphone");
         String code = content.getStringValue("code");

+ 0 - 3
src/custom/restcontroller/webmanage/sale/workorder/workorder.java

@@ -157,7 +157,6 @@ public class workorder extends Controller {
     }
 
     @API(title = "服务工单详情", apiversion = R.ID20230208140103.v1.class, accesstoken = false)
-    @CACHEING
     public String queryworkorderMain() throws YosException {
         boolean isnotaccesstoken = content.getBooleanValue("isnotaccesstoken");
         if (isnotaccesstoken) {
@@ -393,7 +392,6 @@ public class workorder extends Controller {
     }
 
     @API(title = "服务工单节点详情", apiversion = R.ID20230209091103.v1.class, accesstoken = false)
-    @CACHEING
     public String queryNodedetail() throws YosException {
         boolean isnotaccesstoken = content.getBooleanValue("isnotaccesstoken");
         if (isnotaccesstoken) {
@@ -890,7 +888,6 @@ public class workorder extends Controller {
     }
 
     @API(title = "验证手机", apiversion = R.ID2025072809441203.v1.class, accesstoken = false)
-    @CACHEING
     public String sendMessage() throws YosException {
         String customerphone = content.getStringValue("customerphone");
         if (!Pattern.matches("^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$", customerphone)) {

+ 0 - 2
src/custom/restcontroller/webmanage/sale/workorder/workorderConfirmation.java

@@ -99,7 +99,6 @@ public class workorderConfirmation extends Controller {
     }
 
     @API(title = "服务工单确认单详情", apiversion = R.ID20230211105803.v1.class, accesstoken = false)
-    @CACHEING
     public String queryworkConfirmationMain() throws YosException {
         boolean isnotaccesstoken = content.getBooleanValue("isnotaccesstoken");
         if (isnotaccesstoken) {
@@ -150,7 +149,6 @@ public class workorderConfirmation extends Controller {
     }
 
     @API(title = "查询服务工单确认单列表", apiversion = R.ID20230211105903.v1.class, accesstoken = false)
-    @CACHEING
     public String queryworkConfirmationList() throws YosException {
         boolean isnotaccesstoken = content.getBooleanValue("isnotaccesstoken");
         if (isnotaccesstoken) {