Permalink
Browse files

新增BlackCat.php

  • Loading branch information...
1 parent 5f2ae79 commit 4862ffd79ac52e74a245010760662932839fb68d @oomusou committed Apr 5, 2016
Showing with 15 additions and 0 deletions.
  1. +15 −0 app/Services/BlackCat.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace App\Services;
+
+class BlackCat
+{
+ /**
+ * @param int $weight
+ * @return int
+ */
+ public function calculateFee($weight)
+ {
+ return 100 + $weight * 10;
+ }
+}

0 comments on commit 4862ffd

Please sign in to comment.