|
@@ -25,15 +25,15 @@ import com.zskk.model._MappingKit;
|
|
|
import com.zskk.util.ErrorConstant;
|
|
|
|
|
|
public class SmsService {
|
|
|
-
|
|
|
- static {
|
|
|
-// PropKit.use("config.properties");
|
|
|
- DruidPlugin druidPlugin = new DruidPlugin("jdbc:mysql://117.50.71.166:7001/pacsonline_pro?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull", "pacs_pro", "Zskk@2019~!@#");
|
|
|
- ActiveRecordPlugin arp = new ActiveRecordPlugin(druidPlugin);
|
|
|
- druidPlugin.start();
|
|
|
- _MappingKit.mapping(arp);
|
|
|
- arp.start();
|
|
|
- }
|
|
|
+//
|
|
|
+// static {
|
|
|
+//// PropKit.use("config.properties");
|
|
|
+// DruidPlugin druidPlugin = new DruidPlugin("jdbc:mysql://117.50.71.166:7001/pacsonline_pro?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull", "pacs_pro", "Zskk@2019~!@#");
|
|
|
+// ActiveRecordPlugin arp = new ActiveRecordPlugin(druidPlugin);
|
|
|
+// druidPlugin.start();
|
|
|
+// _MappingKit.mapping(arp);
|
|
|
+// arp.start();
|
|
|
+// }
|
|
|
|
|
|
public Boolean sendSmsCode(String phone) {
|
|
|
DefaultProfile profile = DefaultProfile.getProfile("cn-beijing", "LTAImzRGKfWaL7Vi", "GjWdd2cdHtbQkhhnhSxNbw0QChKD98");
|