{{item.detail}}
+ {{item.price}} + 立即购买 +{{item.detail}}
+ {{item.price}} +{{item.detail}}
+ {{item.price}} + 立即购买 +{{item.detail}}
+ {{item.price}} +=n){var o=r?this._searchChoices(e):0;this.passedElement.triggerEvent(R.search,{value:e,resultCount:o})}else if(s){this._isSearching=false;this._store.dispatch(ie(true))}};e._canAddItem=function _canAddItem(e,t){var i=true;var n=typeof this.config.addItemText==="function"?this.config.addItemText(t):this.config.addItemText;if(!this._isSelectOneElement){var r=T(e,t);if(this.config.maxItemCount>0&&this.config.maxItemCount<=e.length){i=false;n=typeof this.config.maxItemText==="function"?this.config.maxItemText(this.config.maxItemCount):this.config.maxItemText}if(!this.config.duplicateItemsAllowed&&r&&i){i=false;n=typeof this.config.uniqueItemText==="function"?this.config.uniqueItemText(t):this.config.uniqueItemText}if(this._isTextElement&&this.config.addItems&&i&&typeof this.config.addItemFilter==="function"&&!this.config.addItemFilter(t)){i=false;n=typeof this.config.customAddItemText==="function"?this.config.customAddItemText(t):this.config.customAddItemText}}return{response:i,notice:n}};e._searchChoices=function _searchChoices(e){var t=typeof e==="string"?e.trim():e;var i=typeof this._currentValue==="string"?this._currentValue.trim():this._currentValue;if(t.length<1&&t===i+" "){return 0}var n=this._store.searchableChoices;var s=t;var o=[].concat(this.config.searchFields);var a=Object.assign(this.config.fuseOptions,{keys:o});var c=new r.a(n,a);var l=c.search(s);this._currentValue=t;this._highlightPosition=0;this._isSearching=true;this._store.dispatch(te(l));return l.length};e._addEventListeners=function _addEventListeners(){var e=document,t=e.documentElement;t.addEventListener("touchend",this._onTouchEnd,true);this.containerOuter.element.addEventListener("keydown",this._onKeyDown,true);this.containerOuter.element.addEventListener("mousedown",this._onMouseDown,true);t.addEventListener("click",this._onClick,{passive:true});t.addEventListener("touchmove",this._onTouchMove,{passive:true});this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:true});if(this._isSelectOneElement){this.containerOuter.element.addEventListener("focus",this._onFocus,{passive:true});this.containerOuter.element.addEventListener("blur",this._onBlur,{passive:true})}this.input.element.addEventListener("keyup",this._onKeyUp,{passive:true});this.input.element.addEventListener("focus",this._onFocus,{passive:true});this.input.element.addEventListener("blur",this._onBlur,{passive:true});if(this.input.element.form){this.input.element.form.addEventListener("reset",this._onFormReset,{passive:true})}this.input.addEventListeners()};e._removeEventListeners=function _removeEventListeners(){var e=document,t=e.documentElement;t.removeEventListener("touchend",this._onTouchEnd,true);this.containerOuter.element.removeEventListener("keydown",this._onKeyDown,true);this.containerOuter.element.removeEventListener("mousedown",this._onMouseDown,true);t.removeEventListener("click",this._onClick);t.removeEventListener("touchmove",this._onTouchMove);this.dropdown.element.removeEventListener("mouseover",this._onMouseOver);if(this._isSelectOneElement){this.containerOuter.element.removeEventListener("focus",this._onFocus);this.containerOuter.element.removeEventListener("blur",this._onBlur)}this.input.element.removeEventListener("keyup",this._onKeyUp);this.input.element.removeEventListener("focus",this._onFocus);this.input.element.removeEventListener("blur",this._onBlur);if(this.input.element.form){this.input.element.form.removeEventListener("reset",this._onFormReset)}this.input.removeEventListeners()};e._onKeyDown=function _onKeyDown(e){var t;var i=e.target,n=e.keyCode,r=e.ctrlKey,s=e.metaKey;var o=this._store.activeItems;var a=this.input.isFocussed;var c=this.dropdown.isActive;var l=this.itemList.hasChildren();var u=String.fromCharCode(n);var h=B.BACK_KEY,d=B.DELETE_KEY,f=B.ENTER_KEY,p=B.A_KEY,m=B.ESC_KEY,v=B.UP_KEY,g=B.DOWN_KEY,_=B.PAGE_UP_KEY,b=B.PAGE_DOWN_KEY;var y=r||s;if(!this._isTextElement&&/[a-zA-Z0-9-_ ]/.test(u)){this.showDropdown()}var E=(t={},t[p]=this._onAKey,t[f]=this._onEnterKey,t[m]=this._onEscapeKey,t[v]=this._onDirectionKey,t[_]=this._onDirectionKey,t[g]=this._onDirectionKey,t[b]=this._onDirectionKey,t[d]=this._onDeleteKey,t[h]=this._onDeleteKey,t);if(E[n]){E[n]({event:e,target:i,keyCode:n,metaKey:s,activeItems:o,hasFocusedInput:a,hasActiveDropdown:c,hasItems:l,hasCtrlDownKeyPressed:y})}};e._onKeyUp=function _onKeyUp(e){var t=e.target,i=e.keyCode;var n=this.input.value;var r=this._store.activeItems;var s=this._canAddItem(r,n);var o=B.BACK_KEY,a=B.DELETE_KEY;if(this._isTextElement){var c=s.notice&&n;if(c){var l=this._getTemplate("notice",s.notice);this.dropdown.element.innerHTML=l.outerHTML;this.showDropdown(true)}else{this.hideDropdown(true)}}else{var u=(i===o||i===a)&&!t.value;var h=!this._isTextElement&&this._isSearching;var d=this._canSearch&&s.response;if(u&&h){this._isSearching=false;this._store.dispatch(ie(true))}else if(d){this._handleSearch(this.input.value)}}this._canSearch=this.config.searchEnabled};e._onAKey=function _onAKey(e){var t=e.hasItems,i=e.hasCtrlDownKeyPressed;if(i&&t){this._canSearch=false;var n=this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement;if(n){this.highlightAll()}}};e._onEnterKey=function _onEnterKey(e){var t=e.event,i=e.target,n=e.activeItems,r=e.hasActiveDropdown;var s=B.ENTER_KEY;var o=i.hasAttribute("data-button");if(this._isTextElement&&i.value){var a=this.input.value;var c=this._canAddItem(n,a);if(c.response){this.hideDropdown(true);this._addItem({value:a});this._triggerChange(a);this.clearInput()}}if(o){this._handleButtonAction(n,i);t.preventDefault()}if(r){var l=this.dropdown.getChild("."+this.config.classNames.highlightedState);if(l){if(n[0]){n[0].keyCode=s}this._handleChoiceAction(n,l)}t.preventDefault()}else if(this._isSelectOneElement){this.showDropdown();t.preventDefault()}};e._onEscapeKey=function _onEscapeKey(e){var t=e.hasActiveDropdown;if(t){this.hideDropdown(true);this.containerOuter.focus()}};e._onDirectionKey=function _onDirectionKey(e){var t=e.event,i=e.hasActiveDropdown,n=e.keyCode,r=e.metaKey;var s=B.DOWN_KEY,o=B.PAGE_UP_KEY,a=B.PAGE_DOWN_KEY;if(i||this._isSelectOneElement){this.showDropdown();this._canSearch=false;var c=n===s||n===a?1:-1;var l=r||n===a||n===o;var u="[data-choice-selectable]";var h;if(l){if(c>0){h=this.dropdown.element.querySelector(u+":last-of-type")}else{h=this.dropdown.element.querySelector(u)}}else{var d=this.dropdown.element.querySelector("."+this.config.classNames.highlightedState);if(d){h=w(d,u,c)}else{h=this.dropdown.element.querySelector(u)}}if(h){if(!I(h,this.choiceList.element,c)){this.choiceList.scrollToChildElement(h,c)}this._highlightChoice(h)}t.preventDefault()}};e._onDeleteKey=function _onDeleteKey(e){var t=e.event,i=e.target,n=e.hasFocusedInput,r=e.activeItems;if(n&&!i.value&&!this._isSelectOneElement){this._handleBackspace(r);t.preventDefault()}};e._onTouchMove=function _onTouchMove(){if(this._wasTap){this._wasTap=false}};e._onTouchEnd=function _onTouchEnd(e){var t=e||e.touches[0],i=t.target;var n=this._wasTap&&this.containerOuter.element.contains(i);if(n){var r=i===this.containerOuter.element||i===this.containerInner.element;if(r){if(this._isTextElement){this.input.focus()}else if(this._isSelectMultipleElement){this.showDropdown()}}e.stopPropagation()}this._wasTap=true};e._onMouseDown=function _onMouseDown(e){var t=e.target;if(!(t instanceof HTMLElement)){return}if(he&&this.choiceList.element.contains(t)){var i=this.choiceList.element.firstElementChild;var n=this._direction==="ltr"?e.offsetX>=i.offsetWidth:e.offsetXs[e]&&!t.escapeWithReference){n=Math.min(p[r],s[e]-(e==="right"?p.width:p.height))}return defineProperty({},r,n)}};l.forEach((function(e){var t=["left","top"].indexOf(e)!==-1?"primary":"secondary";p=u({},p,d[t](e))}));e.offsets.popper=p;return e}function shift(e){var t=e.placement;var r=t.split("-")[0];var n=t.split("-")[1];if(n){var o=e.offsets,i=o.reference,a=o.popper;var f=["bottom","top"].indexOf(r)!==-1;var s=f?"left":"top";var l=f?"width":"height";var p={start:defineProperty({},s,i[s]),end:defineProperty({},s,i[s]+i[l]-a[l])};e.offsets.popper=u({},a,p[n])}return e}function hide(e){if(!isModifierRequired(e.instance.modifiers,"hide","preventOverflow")){return e}var t=e.offsets.reference;var r=find(e.instance.modifiers,(function(e){return e.name==="preventOverflow"})).boundaries;if(t.bottom
out_trade_no:"+out_trade_no+"
total_amount:"+total_amount;
+ }else {
+ return "验签失败";
+ }
+ }
+
+
+
+ @RequestMapping(value = "/alipayNotifyNotice")
+ @ResponseBody
+ public String alipayNotifyNotice(HttpServletRequest request, HttpServletRequest response) throws Exception {
+
+// LOGGER.info("支付成功, 进入异步通知接口...");
+
+ //获取支付宝POST过来反馈信息
+ Map
参数说明:
mobile:手机号;
FormatID:短信格式(0:英文;8:中文;10:中文白名单确认短信;40:长短信);
Content:短信内容;
ScheduleDate:计划发送时间(可以传以前日期如2010-1-1,立即发送);
TokenID:企业验证码
返回值:
OK:[MessageID]
ERROR:XXX:[错误描述](XXX是错误代码)
100:不正确的Token;
101:没有短信权限;
102:余额不足;
103:短信内容不能为空;
200:非手机号;
999:系统错误;
+ */
+ public java.lang.String sendSMS(java.lang.String mobile, int formatID, java.lang.String content, java.util.Calendar scheduleDate, java.lang.String tokenID) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:发送批次短信;
参数说明:
mobileList:手机号,用半角逗号分隔;
FormatID:短信格式(0:英文;8:中文);
Content:短信内容;
deadLineTime:发送截至时间;
TokenID:企业验证码
返回值:
OK:[MessageID]
ERROR:XXX:[错误描述](XXX是错误代码)
100:不正确的Token;
101:没有短信权限;
102:余额不足;
103:短信内容不能为空;
200:非手机号;
999:系统错误;
+ */
+ public java.lang.String sendBatchSMS(java.lang.String mobileList, int formatID, java.lang.String content, java.util.Calendar deadLineTime, java.lang.String tokenID) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:群发送短信;
参数说明:
ContentXml:XML数据集:mobile:手机号,FormatID:短信格式(0:英文;8:中文),Content:短信内容,ScheduleDate:计划发送时间(可以传空值null,立即发送);
TokenID:企业验证码
返回值:
返回成功发送数量
+ */
+ public java.lang.String sendSMSCovey(java.lang.String XMLStr, java.lang.String tokenID) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:根据MessageID查询短信发送状态
注意:目前此方法不建议使用,
+ * 未来可能删除
参数:
MessageID:成功调用SendSMS发送短信时返回的值
返回值:XML
+ */
+ public net.lab1024.smartadmin.module.system.royalcanin.SMS.QuerySMSStateResponseQuerySMSStateResult querySMSState(java.lang.String messageID) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:批量查询某一天短信发送结果
注意:目前此方法不建议使用, 未来可能删除
参数:
time:发送时间;
MinID:开始的ID号(第一次查询输入0,
+ * 以后输入上次查询有结果返回的最大值, 增量查询模式);
TokenID:企业验证码
+ */
+ public net.lab1024.smartadmin.module.system.royalcanin.SMS.QuerySmsSendRecordResponseQuerySmsSendRecordResult querySmsSendRecord(java.util.Calendar time, int minID, java.lang.String tokenID) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:根据MessageID撤消短信发送
注意:目前此方法不可用
参数:
MessageID:成功调用SendSMS发送短信时返回的值
返回值:OK:[Count];
ERROR:XXX:[错误描述]
999:系统错误
+ */
+ public java.lang.String canelSMS(java.lang.String messageID) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:查询上行短信
参数说明:
MinID:开始的ID号(第一次查询输入0, 以后输入上次查询有结果返回的最大值,
+ * 增量查询模式);
Count:返回行数(目前此参数没用, 最多返回100行记录);
TokenID:企业验证码;
ExternCode:端号号标识(目前此参数没用);
返回值:xml
+ */
+ public net.lab1024.smartadmin.module.system.royalcanin.SMS.QuerySMSUPResponseQuerySMSUPResult querySMSUP(int minID, int count, java.lang.String tokenID, java.lang.String externCode) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:批量查询最新短信发送结果
参数:
MinID:开始的ID号(第一次查询输入0, 以后输入上次查询有结果返回的最大值,
+ * 增量查询模式);
TokenID:企业验证码
+ */
+ public net.lab1024.smartadmin.module.system.royalcanin.SMS.QuerySmsSeqReportResponseQuerySmsSeqReportResult querySmsSeqReport(long minID, java.lang.String tokenID) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:测试模板和参数匹配合并后的结果;
参数说明:
templateId:短信模板ID;
paramType:模板参数数据类型(JSON
+ * or XML)
paramData:模板参数数据
TokenID:企业验证码
返回值:
参数匹配后的短信
ERROR:XXX:[错误描述](XXX是错误代码)
100:不正确的Token;
110:[没有找到短信模板];
111:[paramType
+ * 必须是JSON 或 XML];
112:[paramData 解析失败];
999:系统错误;
+ */
+ public java.lang.String testTemplate(int templateId, java.lang.String paramType, java.lang.String paramData, java.lang.String tokenID) throws java.rmi.RemoteException;
+
+ /**
+ * 功能:发送短信;
参数说明:
mobile:手机号;
FormatID:短信格式(0:英文;8:中文;);
templateId:短信模板ID;
paramType:模板参数数据类型(JSON
+ * or XML)
paramData:模板参数数据
TokenID:企业验证码
返回值:
OK:[MessageID]
ERROR:XXX:[错误描述](XXX是错误代码)
100:不正确的Token;
101:没有短信权限;
102:余额不足;
110:[没有找到短信模板];
111:[paramType
+ * 必须是JSON 或 XML];
112:[paramData 解析失败];
200:非手机号;
999:系统错误;
+ */
+ public java.lang.String sendTemplateSMS(java.lang.String mobile, int formatID, int templateId, java.lang.String paramType, java.lang.String paramData, java.lang.String tokenID) throws java.rmi.RemoteException;
+}
diff --git a/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/SendTemplateSMS.java b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/SendTemplateSMS.java
new file mode 100644
index 00000000..a0901413
--- /dev/null
+++ b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/SendTemplateSMS.java
@@ -0,0 +1,295 @@
+/**
+ * SendTemplateSMS.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package net.lab1024.smartadmin.module.system.royalcanin.SMS;
+
+public class SendTemplateSMS implements java.io.Serializable {
+ private java.lang.String mobile;
+
+ private int formatID;
+
+ private int templateId;
+
+ private java.lang.String paramType;
+
+ private java.lang.String paramData;
+
+ private java.lang.String tokenID;
+
+ public SendTemplateSMS() {
+ }
+
+ public SendTemplateSMS(
+ java.lang.String mobile,
+ int formatID,
+ int templateId,
+ java.lang.String paramType,
+ java.lang.String paramData,
+ java.lang.String tokenID) {
+ this.mobile = mobile;
+ this.formatID = formatID;
+ this.templateId = templateId;
+ this.paramType = paramType;
+ this.paramData = paramData;
+ this.tokenID = tokenID;
+ }
+
+
+ /**
+ * Gets the mobile value for this SendTemplateSMS.
+ *
+ * @return mobile
+ */
+ public java.lang.String getMobile() {
+ return mobile;
+ }
+
+
+ /**
+ * Sets the mobile value for this SendTemplateSMS.
+ *
+ * @param mobile
+ */
+ public void setMobile(java.lang.String mobile) {
+ this.mobile = mobile;
+ }
+
+
+ /**
+ * Gets the formatID value for this SendTemplateSMS.
+ *
+ * @return formatID
+ */
+ public int getFormatID() {
+ return formatID;
+ }
+
+
+ /**
+ * Sets the formatID value for this SendTemplateSMS.
+ *
+ * @param formatID
+ */
+ public void setFormatID(int formatID) {
+ this.formatID = formatID;
+ }
+
+
+ /**
+ * Gets the templateId value for this SendTemplateSMS.
+ *
+ * @return templateId
+ */
+ public int getTemplateId() {
+ return templateId;
+ }
+
+
+ /**
+ * Sets the templateId value for this SendTemplateSMS.
+ *
+ * @param templateId
+ */
+ public void setTemplateId(int templateId) {
+ this.templateId = templateId;
+ }
+
+
+ /**
+ * Gets the paramType value for this SendTemplateSMS.
+ *
+ * @return paramType
+ */
+ public java.lang.String getParamType() {
+ return paramType;
+ }
+
+
+ /**
+ * Sets the paramType value for this SendTemplateSMS.
+ *
+ * @param paramType
+ */
+ public void setParamType(java.lang.String paramType) {
+ this.paramType = paramType;
+ }
+
+
+ /**
+ * Gets the paramData value for this SendTemplateSMS.
+ *
+ * @return paramData
+ */
+ public java.lang.String getParamData() {
+ return paramData;
+ }
+
+
+ /**
+ * Sets the paramData value for this SendTemplateSMS.
+ *
+ * @param paramData
+ */
+ public void setParamData(java.lang.String paramData) {
+ this.paramData = paramData;
+ }
+
+
+ /**
+ * Gets the tokenID value for this SendTemplateSMS.
+ *
+ * @return tokenID
+ */
+ public java.lang.String getTokenID() {
+ return tokenID;
+ }
+
+
+ /**
+ * Sets the tokenID value for this SendTemplateSMS.
+ *
+ * @param tokenID
+ */
+ public void setTokenID(java.lang.String tokenID) {
+ this.tokenID = tokenID;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof SendTemplateSMS)) return false;
+ SendTemplateSMS other = (SendTemplateSMS) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.mobile==null && other.getMobile()==null) ||
+ (this.mobile!=null &&
+ this.mobile.equals(other.getMobile()))) &&
+ this.formatID == other.getFormatID() &&
+ this.templateId == other.getTemplateId() &&
+ ((this.paramType==null && other.getParamType()==null) ||
+ (this.paramType!=null &&
+ this.paramType.equals(other.getParamType()))) &&
+ ((this.paramData==null && other.getParamData()==null) ||
+ (this.paramData!=null &&
+ this.paramData.equals(other.getParamData()))) &&
+ ((this.tokenID==null && other.getTokenID()==null) ||
+ (this.tokenID!=null &&
+ this.tokenID.equals(other.getTokenID())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getMobile() != null) {
+ _hashCode += getMobile().hashCode();
+ }
+ _hashCode += getFormatID();
+ _hashCode += getTemplateId();
+ if (getParamType() != null) {
+ _hashCode += getParamType().hashCode();
+ }
+ if (getParamData() != null) {
+ _hashCode += getParamData().hashCode();
+ }
+ if (getTokenID() != null) {
+ _hashCode += getTokenID().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(SendTemplateSMS.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("http://mms.wemediacn.com/", ">SendTemplateSMS"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("mobile");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "mobile"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("formatID");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "FormatID"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("templateId");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "templateId"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("paramType");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "paramType"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("paramData");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "paramData"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("tokenID");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "TokenID"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ }
+
+ /**
+ * Return type metadata object
+ */
+ public static org.apache.axis.description.TypeDesc getTypeDesc() {
+ return typeDesc;
+ }
+
+ /**
+ * Get Custom Serializer
+ */
+ public static org.apache.axis.encoding.Serializer getSerializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanSerializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+ /**
+ * Get Custom Deserializer
+ */
+ public static org.apache.axis.encoding.Deserializer getDeserializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanDeserializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+}
diff --git a/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/SendTemplateSMSResponse.java b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/SendTemplateSMSResponse.java
new file mode 100644
index 00000000..7a41f3cd
--- /dev/null
+++ b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/SendTemplateSMSResponse.java
@@ -0,0 +1,120 @@
+/**
+ * SendTemplateSMSResponse.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package net.lab1024.smartadmin.module.system.royalcanin.SMS;
+
+public class SendTemplateSMSResponse implements java.io.Serializable {
+ private java.lang.String sendTemplateSMSResult;
+
+ public SendTemplateSMSResponse() {
+ }
+
+ public SendTemplateSMSResponse(
+ java.lang.String sendTemplateSMSResult) {
+ this.sendTemplateSMSResult = sendTemplateSMSResult;
+ }
+
+
+ /**
+ * Gets the sendTemplateSMSResult value for this SendTemplateSMSResponse.
+ *
+ * @return sendTemplateSMSResult
+ */
+ public java.lang.String getSendTemplateSMSResult() {
+ return sendTemplateSMSResult;
+ }
+
+
+ /**
+ * Sets the sendTemplateSMSResult value for this SendTemplateSMSResponse.
+ *
+ * @param sendTemplateSMSResult
+ */
+ public void setSendTemplateSMSResult(java.lang.String sendTemplateSMSResult) {
+ this.sendTemplateSMSResult = sendTemplateSMSResult;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof SendTemplateSMSResponse)) return false;
+ SendTemplateSMSResponse other = (SendTemplateSMSResponse) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.sendTemplateSMSResult==null && other.getSendTemplateSMSResult()==null) ||
+ (this.sendTemplateSMSResult!=null &&
+ this.sendTemplateSMSResult.equals(other.getSendTemplateSMSResult())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getSendTemplateSMSResult() != null) {
+ _hashCode += getSendTemplateSMSResult().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(SendTemplateSMSResponse.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("http://mms.wemediacn.com/", ">SendTemplateSMSResponse"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("sendTemplateSMSResult");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "SendTemplateSMSResult"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ }
+
+ /**
+ * Return type metadata object
+ */
+ public static org.apache.axis.description.TypeDesc getTypeDesc() {
+ return typeDesc;
+ }
+
+ /**
+ * Get Custom Serializer
+ */
+ public static org.apache.axis.encoding.Serializer getSerializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanSerializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+ /**
+ * Get Custom Deserializer
+ */
+ public static org.apache.axis.encoding.Deserializer getDeserializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanDeserializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+}
diff --git a/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestSM.java b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestSM.java
new file mode 100644
index 00000000..be096c1b
--- /dev/null
+++ b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestSM.java
@@ -0,0 +1,25 @@
+package net.lab1024.smartadmin.module.system.royalcanin.SMS;
+
+import java.net.URL;
+
+
+public class TestSM {
+
+ public static void main(String[] args) {
+ try {
+ URL protAddres = new URL("http://www.wemediacn.net/webservice/smsservice.asmx");
+ SMSServiceLocator service = new SMSServiceLocator();
+ SMSServiceSoap_BindingStub stub = (SMSServiceSoap_BindingStub) service.getSMSServiceSoap(protAddres);
+ java.util.Calendar cal= java.util.Calendar.getInstance();
+ cal.set(2021,12,31,0,0,0);
+ String sMSGID = stub.sendSMS("13407998521",8,"【皇家宠物食品】",cal,"7101567100151709");
+ if (sMSGID.startsWith("OK:"))
+ System.out.println("Send successful!");
+ System.out.println("msgId = " + sMSGID);
+ }catch (Exception e){
+ e.printStackTrace();
+ }
+
+
+ }
+}
diff --git a/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestTemplate.java b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestTemplate.java
new file mode 100644
index 00000000..733c62cc
--- /dev/null
+++ b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestTemplate.java
@@ -0,0 +1,226 @@
+/**
+ * TestTemplate.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package net.lab1024.smartadmin.module.system.royalcanin.SMS;
+
+public class TestTemplate implements java.io.Serializable {
+ private int templateId;
+
+ private java.lang.String paramType;
+
+ private java.lang.String paramData;
+
+ private java.lang.String tokenID;
+
+ public TestTemplate() {
+ }
+
+ public TestTemplate(
+ int templateId,
+ java.lang.String paramType,
+ java.lang.String paramData,
+ java.lang.String tokenID) {
+ this.templateId = templateId;
+ this.paramType = paramType;
+ this.paramData = paramData;
+ this.tokenID = tokenID;
+ }
+
+
+ /**
+ * Gets the templateId value for this TestTemplate.
+ *
+ * @return templateId
+ */
+ public int getTemplateId() {
+ return templateId;
+ }
+
+
+ /**
+ * Sets the templateId value for this TestTemplate.
+ *
+ * @param templateId
+ */
+ public void setTemplateId(int templateId) {
+ this.templateId = templateId;
+ }
+
+
+ /**
+ * Gets the paramType value for this TestTemplate.
+ *
+ * @return paramType
+ */
+ public java.lang.String getParamType() {
+ return paramType;
+ }
+
+
+ /**
+ * Sets the paramType value for this TestTemplate.
+ *
+ * @param paramType
+ */
+ public void setParamType(java.lang.String paramType) {
+ this.paramType = paramType;
+ }
+
+
+ /**
+ * Gets the paramData value for this TestTemplate.
+ *
+ * @return paramData
+ */
+ public java.lang.String getParamData() {
+ return paramData;
+ }
+
+
+ /**
+ * Sets the paramData value for this TestTemplate.
+ *
+ * @param paramData
+ */
+ public void setParamData(java.lang.String paramData) {
+ this.paramData = paramData;
+ }
+
+
+ /**
+ * Gets the tokenID value for this TestTemplate.
+ *
+ * @return tokenID
+ */
+ public java.lang.String getTokenID() {
+ return tokenID;
+ }
+
+
+ /**
+ * Sets the tokenID value for this TestTemplate.
+ *
+ * @param tokenID
+ */
+ public void setTokenID(java.lang.String tokenID) {
+ this.tokenID = tokenID;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof TestTemplate)) return false;
+ TestTemplate other = (TestTemplate) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ this.templateId == other.getTemplateId() &&
+ ((this.paramType==null && other.getParamType()==null) ||
+ (this.paramType!=null &&
+ this.paramType.equals(other.getParamType()))) &&
+ ((this.paramData==null && other.getParamData()==null) ||
+ (this.paramData!=null &&
+ this.paramData.equals(other.getParamData()))) &&
+ ((this.tokenID==null && other.getTokenID()==null) ||
+ (this.tokenID!=null &&
+ this.tokenID.equals(other.getTokenID())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ _hashCode += getTemplateId();
+ if (getParamType() != null) {
+ _hashCode += getParamType().hashCode();
+ }
+ if (getParamData() != null) {
+ _hashCode += getParamData().hashCode();
+ }
+ if (getTokenID() != null) {
+ _hashCode += getTokenID().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(TestTemplate.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("http://mms.wemediacn.com/", ">TestTemplate"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("templateId");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "templateId"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("paramType");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "paramType"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("paramData");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "paramData"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("tokenID");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "TokenID"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ }
+
+ /**
+ * Return type metadata object
+ */
+ public static org.apache.axis.description.TypeDesc getTypeDesc() {
+ return typeDesc;
+ }
+
+ /**
+ * Get Custom Serializer
+ */
+ public static org.apache.axis.encoding.Serializer getSerializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanSerializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+ /**
+ * Get Custom Deserializer
+ */
+ public static org.apache.axis.encoding.Deserializer getDeserializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanDeserializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+}
diff --git a/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestTemplateResponse.java b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestTemplateResponse.java
new file mode 100644
index 00000000..2b5552e7
--- /dev/null
+++ b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/TestTemplateResponse.java
@@ -0,0 +1,120 @@
+/**
+ * TestTemplateResponse.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package net.lab1024.smartadmin.module.system.royalcanin.SMS;
+
+public class TestTemplateResponse implements java.io.Serializable {
+ private java.lang.String testTemplateResult;
+
+ public TestTemplateResponse() {
+ }
+
+ public TestTemplateResponse(
+ java.lang.String testTemplateResult) {
+ this.testTemplateResult = testTemplateResult;
+ }
+
+
+ /**
+ * Gets the testTemplateResult value for this TestTemplateResponse.
+ *
+ * @return testTemplateResult
+ */
+ public java.lang.String getTestTemplateResult() {
+ return testTemplateResult;
+ }
+
+
+ /**
+ * Sets the testTemplateResult value for this TestTemplateResponse.
+ *
+ * @param testTemplateResult
+ */
+ public void setTestTemplateResult(java.lang.String testTemplateResult) {
+ this.testTemplateResult = testTemplateResult;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof TestTemplateResponse)) return false;
+ TestTemplateResponse other = (TestTemplateResponse) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.testTemplateResult==null && other.getTestTemplateResult()==null) ||
+ (this.testTemplateResult!=null &&
+ this.testTemplateResult.equals(other.getTestTemplateResult())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getTestTemplateResult() != null) {
+ _hashCode += getTestTemplateResult().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(TestTemplateResponse.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("http://mms.wemediacn.com/", ">TestTemplateResponse"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("testTemplateResult");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://mms.wemediacn.com/", "TestTemplateResult"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setMinOccurs(0);
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ }
+
+ /**
+ * Return type metadata object
+ */
+ public static org.apache.axis.description.TypeDesc getTypeDesc() {
+ return typeDesc;
+ }
+
+ /**
+ * Get Custom Serializer
+ */
+ public static org.apache.axis.encoding.Serializer getSerializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanSerializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+ /**
+ * Get Custom Deserializer
+ */
+ public static org.apache.axis.encoding.Deserializer getDeserializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanDeserializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+}
diff --git a/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/smsservice.wsdl b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/smsservice.wsdl
new file mode 100644
index 00000000..22568f5f
--- /dev/null
+++ b/smart-admin-service/smart-admin-api/src/main/java/net/lab1024/smartadmin/module/system/royalcanin/SMS/smsservice.wsdl
@@ -0,0 +1,963 @@
+
+
+ * 该函数适用于商户适用于统一下单等接口,不适用于红包、代金券接口
+ *
+ * @param reqData
+ * @return
+ * @throws Exception
+ */
+ public Map
+ * 场景:刷卡支付
+ * @param reqData 向wxpay post的请求数据
+ * @return API返回数据
+ * @throws Exception
+ */
+ public Map
+ * 场景:刷卡支付
+ * @param reqData 向wxpay post的请求数据
+ * @param connectTimeoutMs 连接超时时间,单位是毫秒
+ * @param readTimeoutMs 读超时时间,单位是毫秒
+ * @return API返回数据
+ * @throws Exception
+ */
+ public Map
+ * 场景:公共号支付、扫码支付、APP支付
+ * @param reqData 向wxpay post的请求数据
+ * @return API返回数据
+ * @throws Exception
+ */
+ public Map
+ * 场景:公共号支付、扫码支付、APP支付
+ * @param reqData 向wxpay post的请求数据
+ * @param connectTimeoutMs 连接超时时间,单位是毫秒
+ * @param readTimeoutMs 读超时时间,单位是毫秒
+ * @return API返回数据
+ * @throws Exception
+ */
+ public Map