Ver Fonte

ID2025121515015903接口逻辑优化

hxh há 4 meses atrás
pai
commit
2669e023e7

+ 1 - 1
src/custom/restcontroller/webmanage/sale/toolscode/toolscode.java

@@ -453,7 +453,7 @@ public class toolscode extends Controller {
 
     @API(title = "判断序列号是否符合要求", apiversion = R.ID2025121515015903.v1.class)
     public String jundgeSku() throws YosException {
-        if(sys_enterpriseid<=0){
+        if(content.containsKey("sys_enterpriseid")){
             sys_enterpriseid=content.getLongValue("sys_enterpriseid");
         }
         String sku=content.getString("sku");