📄 henancngpcommu.java
字号:
package com.gctech.cngp;
/**
* <p>Title: 短信 API</p>
* <p>Description: 短信SP API</p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: GCTECH</p>
* @author not attributable
* @version $Id: HenanCngpCommu.java,v 1.1 2004/05/09 05:12:57 wanghb Exp $
*/
public class HenanCngpCommu extends AbstractCngpCommu {
public HenanCngpCommu() {
}
protected byte[] getPlain(String clientId, String auth, String time) {
int plainLength = clientId.length() + 7 + auth.length() + 10;
byte[] plain = new byte[plainLength];
byte[] temp = clientId.getBytes();
System.arraycopy(temp, 0, plain, 0, temp.length);
int start = clientId.length() + 7;
temp = auth.getBytes();
System.arraycopy(temp, 0, plain, start, temp.length);
start += auth.length();
temp = time.getBytes();
System.arraycopy(temp, 0, plain, start, temp.length);
return plain;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -