Commit bd57f312 by zhangyunjie

测试

parent 32c62a85
......@@ -203,10 +203,10 @@
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hBY-Ug-jR2">
<rect key="frame" x="298" y="387" width="62" height="30"/>
<rect key="frame" x="268" y="387" width="92" height="30"/>
<color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="压测暂停"/>
<state key="selected" title="压测开始"/>
<state key="normal" title="压测暂停状态"/>
<state key="selected" title="压测开始状态"/>
<connections>
<action selector="pressureTest:" destination="BYZ-38-t0r" eventType="touchUpInside" id="elf-4J-COs"/>
</connections>
......
......@@ -52,7 +52,7 @@
[self.timer setFireDate:[NSDate distantFuture]];
}
-(void)loop{
NSString *randomStr = [NSString stringWithFormat:@"%d",arc4random_uniform(1000000)];
NSString *randomStr = [NSString stringWithFormat:@"zyj%d",arc4random_uniform(1000000)];
[[OffcnIMSDKiOS defaultService] sendMsgWithMsg_fromID:self.fromId msg_toID:self.toId msg_type:OffcnSDKMsgTypeText text:randomStr filePath:nil Finished:^(BOOL success, OffcnIMSendMsgModel *sendMsgModel, NSString *errorMessage) {
if (success) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment