Joke Collection Website - Public benefit messages - Cloud group texting is true and false.
Cloud group texting is true and false.
2022-02-20 12: 16:39
1 like it
qq_42039854
Code age 5 years
watch out for
Record the pit where mobile Mas platform sends short messages.
1. First of all, the interface document of the mobile cloud Mas platform is really hot.
2. Step 1: After registering and applying for an account on the cloud Mas platform, log in to the mobile cloud Mas platform.
3. After logging in, find the management-interface management interface and fill in the interface registration information. Note that each modification will prompt the user that the password cannot be the same as the last five times. Therefore, it is recommended to succeed once, mainly using user name and password. For IP, no impact has been found so far.
Insert a picture description here.
4. After the registration is successful, enter the SMS access user management interface, and you can see the successful registered users. Click the signature to download and obtain the feature code required by the interface:
Insert a picture description here.
5. At this point, the preparatory work is completed, and then there is the calling link, which is full:
Incoming class, although the interface document does not write the secretKey to be passed, the mac parameter needs the user password, which is easy to ignore if you don't read the instructions carefully.
Public class SendReq {
Private string ecName// group customer name
Private string apId// user name
Private string secretKey// password
Private mobile phone; //Cell phone numbers are separated by commas. (such as "18 137282928, 18 137282922, 18 137282923")
Private string content; //Send SMS content
Private string flag; //Gateway signature code, required; After opening an account, China Mobile Group will assign a signature code, which can be downloaded from the -SMS interface management function of the web management subsystem of Cloud MAS.
Private string addSerial// spreading code, filled in according to the channel applied to the mobile company. If the applied channels are completely matched, the empty string ("") is filled, otherwise the spreading code allowed by the mobile company is added.
Private string mac//API input parameter signature result. Signature algorithm: splicing ecName, apId, secretKey, mobiles, content, Sign and addSerial in turn, and then calculating the value with md5(32-bit lowercase).
}
1
2
three
four
five
six
seven
eight
nine
10
1
2
three
four
five
six
seven
eight
nine
10
Insert a picture description here.
Public class SendRes {
Private string rspcod// response status code
Private string msgGroup// message batch number, generated by cloud MAS platform, is used to verify the consistency between SMS submission report and status report (the value is msgGroup). Note: If data verification fails, msgGroup is empty.
Private boolean success; //Data check results
}
1
2
three
four
five
six
1
2
three
four
five
six
The Ip address of the mobile interface is different on different platforms, so you need to find your own customers to get the ip address.
The account password is the user name and password of the newly registered interface, which is signed in the exported excel.
- Previous article:How do I change my mobile phone number when I declare?
- Next article:Warm warning slogan for school electricity safety
- Related articles
- Red bean virtual card can't receive SMS.
- 202 1 Inquiry and Collection Method of Senior High School Entrance Examination Notice in Bijie, Guizhou
- How to resume automatic deduction
- Missing text messages between lovers
- What should I do if I receive a loan message for no reason?
- Shandong 2023 college entrance examination registration time
- Which one of Yang Zi's performances in the variety show "Sisters Over Flowers" or "Dear Inn" do you like better?
- The mobile phone just received a text message from 95 188. The content is as follows. Is this a liar's new skill?
- Will there be a door-to-door meeting if there are overdue installments? What happens when the mortgage is overdue?
- The Blessing to the Elder in Xiao Nian