lisai17@sina.com 2020-10-19 10:03:22 +08:00
parent af6ccba925
commit 5ca03cd829
4 changed files with 4 additions and 3 deletions

View File

@ -75,6 +75,7 @@ public class Main {
"sms_log", "sms_log",
"ossfile_log", "ossfile_log",
"customer_pact", "customer_pact",
"customer_supermarket_product",
}; };
PropKit.use("db.properties"); PropKit.use("db.properties");

View File

@ -91,7 +91,7 @@ public class Config extends JFinalConfig {
public static DeviceThread deviceThread = new DeviceThread(); public static DeviceThread deviceThread = new DeviceThread();
public static SocketIOService socketio = null; public static SocketIOService socketio = null;
private static boolean client_run = true; private static boolean client_run = true;
public static final String CLINET_VERSION = "20201017"; public static final String CLINET_VERSION = "20201018";
public static String getRootPath() { public static String getRootPath() {
return PathKit.getWebRootPath() return PathKit.getWebRootPath()

View File

@ -54,7 +54,7 @@ public class RefundDetailController extends BaseController {
*/ */
@Before(RefundDetailPKValidator.class) @Before(RefundDetailPKValidator.class)
public void get() { public void get() {
renderJson(RefundDetailService.me.get(get("id"))); renderJson(Result.object(RefundDetailService.me.get(get("id"))));
} }
/** /**

View File

@ -121,7 +121,7 @@ public class RefundDetailController extends BaseController {
*/ */
@Before(RefundDetailPKValidator.class) @Before(RefundDetailPKValidator.class)
public void get() { public void get() {
renderJson(RefundDetailService.me.get(get("id"))); renderJson(Result.object(RefundDetailService.me.get(get("id"))));
} }
/** /**