|
@@ -52,6 +52,9 @@ class TestSms extends TestCase
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
public function testInvitee()
|
|
|
{
|
|
|
$sms = new Sms();
|
|
@@ -63,7 +66,6 @@ class TestSms extends TestCase
|
|
|
$params[Sms::tpl_order_complete_inviter] = ['level' => 1,'name' => '桑贵苏','amount' => 2];
|
|
|
$params[Sms::tpl_order_complete_invitee] = ['name' => '桑贵苏','amount' => 2];
|
|
|
|
|
|
-
|
|
|
foreach ($params as $sms_type => $sms_param) {
|
|
|
$status = $sms->send_oper($mobile,$sms_type,$sms_param);
|
|
|
}
|